Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009528/0.0009529, allocations: 103.3 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009392/0.0009392, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 54.53 kB / 306.4 MB, free: 0.9805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1192, allocations: 50.54 MB / 356.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003429/0.1227, allocations: 1.484 MB / 358.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001977/0.1229, allocations: 31.84 kB / 358.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.123, allocations: 0 / 358.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.1231, allocations: 0 / 358.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.1231, allocations: 11.92 kB / 358.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1234, allocations: 27.42 kB / 358.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.56e-05/0.1235, allocations: 27.92 kB / 358.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.1236, allocations: 8 kB / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.1236, allocations: 11.92 kB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.1237, allocations: 15.92 kB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1237, allocations: 4 kB / 358.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.1237, allocations: 0 / 358.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.1238, allocations: 7.984 kB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.1238, allocations: 19.88 kB / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.739e-05/0.1239, allocations: 31.89 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1239, allocations: 3.984 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1239, allocations: 0 / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1239, allocations: 0 / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004315/0.1244, allocations: 342 kB / 358.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1244, allocations: 12.02 kB / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1245, allocations: 34.75 kB / 359 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.1245, allocations: 8.844 kB / 359 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.1247, allocations: 176.3 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1247, allocations: 4.375 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.1247, allocations: 4.375 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.1251, allocations: 119.8 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1251, allocations: 7.922 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1251, allocations: 0 / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1251, allocations: 7.922 kB / 359.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1253, allocations: 23.98 kB / 359.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1254, allocations: 161.7 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1256, allocations: 54.55 kB / 359.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.1257, allocations: 24.92 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.1257, allocations: 3.938 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1257, allocations: 30.56 kB / 359.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1257, allocations: 0 / 359.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002944/0.126, allocations: 85.59 kB / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.1261, allocations: 59.41 kB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.1262, allocations: 109.8 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1262, allocations: 25.7 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.1263, allocations: 80.14 kB / 359.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1263, allocations: 7.906 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.1263, allocations: 21.7 kB / 359.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1265, allocations: 318.8 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.1265, allocations: 3.938 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.1265, allocations: 35.42 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.1266, allocations: 35.38 kB / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1266, allocations: 7.938 kB / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.868e-05/0.1267, allocations: 57.62 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1267, allocations: 11.94 kB / 360.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1267, allocations: 0 / 360.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1267, allocations: 0 / 360.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.1268, allocations: 8 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1268, allocations: 4 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.1268, allocations: 0 / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1269, allocations: 8.125 kB / 360.4 MB, free: 10.63 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/0.127, allocations: 121.7 kB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1271, allocations: 69.52 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.1271, allocations: 11.84 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1272, allocations: 0 / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1272, allocations: 0 / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1272, allocations: 4 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.412e-05/0.1273, allocations: 157.7 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1273, allocations: 0 / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.1273, allocations: 12 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1273, allocations: 3.938 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.1274, allocations: 0 / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1274, allocations: 0 / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1274, allocations: 0 / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1275, allocations: 97.25 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.1276, allocations: 88.95 kB / 361 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1276, allocations: 3.938 kB / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.1277, allocations: 16.36 kB / 361 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-06/0.1277, allocations: 0 / 361 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1277, allocations: 4 kB / 361 MB, free: 9.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.1277, allocations: 79.28 kB / 361.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1277, allocations: 0 / 361.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.1279, allocations: 8 kB / 361.1 MB, free: 9.859 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005022/0.1284, allocations: 0.6475 MB / 361.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1286, allocations: 27.98 kB / 361.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1286, allocations: 0 / 361.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.1286, allocations: 3.938 kB / 361.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1289, allocations: 35.95 kB / 361.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009708/0.1299, allocations: 1.172 MB / 363 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.1301, allocations: 0.6848 MB / 363.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.382e-05/0.1302, allocations: 0 / 363.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.1302, allocations: 11.42 kB / 363.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1302, allocations: 8 kB / 363.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.791/2.921, allocations: 1.204 MB / 364.9 MB, free: 6.047 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/2.922, allocations: 226.7 kB / 365.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/4.658, allocations: 7.375 kB / 365.1 MB, free: 5.781 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches