Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001492, allocations: 104.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 186.4 kB / 17.38 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1227/0.1227, allocations: 12.58 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 90.27 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.124, allocations: 49.42 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003015/0.1271, allocations: 1.416 MB / 445 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002048/0.1273, allocations: 23.94 kB / 445 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.1274, allocations: 0 / 445 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.1274, allocations: 7.922 kB / 445 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.1275, allocations: 3.938 kB / 445 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1278, allocations: 23.97 kB / 445 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1279, allocations: 31.92 kB / 445.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.128, allocations: 7.984 kB / 445.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.128, allocations: 15.92 kB / 445.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.1281, allocations: 15.94 kB / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1281, allocations: 4 kB / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.1281, allocations: 0 / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.1282, allocations: 11.98 kB / 445.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.1282, allocations: 11.88 kB / 445.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1283, allocations: 27.89 kB / 445.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1283, allocations: 0 / 445.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1283, allocations: 0 / 445.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1283, allocations: 0 / 445.2 MB, free: 14.87 MB / 334.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.0006354/0.129, allocations: 343.5 kB / 445.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.129, allocations: 12.03 kB / 445.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.1291, allocations: 4.844 kB / 445.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1294, allocations: 176.3 kB / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.1295, allocations: 4.375 kB / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1295, allocations: 8.359 kB / 445.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.1299, allocations: 111.8 kB / 445.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1299, allocations: 4.188 kB / 445.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1299, allocations: 7.938 kB / 445.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.13, allocations: 0 / 445.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1301, allocations: 19.98 kB / 445.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1303, allocations: 157.7 kB / 446 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1305, allocations: 50.5 kB / 446.1 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1306, allocations: 24.92 kB / 446.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1306, allocations: 7.938 kB / 446.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1307, allocations: 34.55 kB / 446.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 4.298e-06/0.1307, allocations: 0 / 446.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003171/0.131, allocations: 81.45 kB / 446.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.1311, allocations: 55.41 kB / 446.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1312, allocations: 105.8 kB / 446.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1312, allocations: 29.7 kB / 446.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.1313, allocations: 88.14 kB / 446.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.1313, allocations: 0 / 446.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.1314, allocations: 21.7 kB / 446.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1315, allocations: 310.8 kB / 446.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.1315, allocations: 11.94 kB / 446.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.1316, allocations: 31.42 kB / 446.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.1316, allocations: 39.38 kB / 446.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1317, allocations: 0 / 446.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001052/0.1318, allocations: 57.62 kB / 446.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1318, allocations: 4 kB / 446.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1318, allocations: 7.938 kB / 446.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1318, allocations: 4.125 kB / 446.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.1319, allocations: 4 kB / 447 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1319, allocations: 0 / 447 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.132, allocations: 7.906 kB / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.132, allocations: 4 kB / 447 MB, free: 12.82 MB / 334.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.728e-05/0.1321, allocations: 113.8 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.1322, allocations: 61.67 kB / 447.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.1323, allocations: 7.438 kB / 447.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1323, allocations: 4 kB / 447.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1323, allocations: 4 kB / 447.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1323, allocations: 240 / 447.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1324, allocations: 157.7 kB / 447.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1324, allocations: 0 / 447.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.1324, allocations: 7.984 kB / 447.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1325, allocations: 3.938 kB / 447.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1325, allocations: 7.938 kB / 447.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1325, allocations: 3.984 kB / 447.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1325, allocations: 0 / 447.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.1327, allocations: 100.9 kB / 447.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.1327, allocations: 77.48 kB / 447.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1328, allocations: 3.938 kB / 447.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.1328, allocations: 8 kB / 447.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.1328, allocations: 0 / 447.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.1328, allocations: 0 / 447.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.275e-05/0.1329, allocations: 87.27 kB / 447.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1329, allocations: 0 / 447.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.1331, allocations: 4 kB / 447.6 MB, free: 12.08 MB / 334.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.000124/0.1332, allocations: 95.25 kB / 447.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.1334, allocations: 31.92 kB / 447.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1334, allocations: 0 / 447.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.1334, allocations: 0 / 447.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.1337, allocations: 19.98 kB / 447.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.1341, allocations: 123.2 kB / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1345, allocations: 0.6848 MB / 448.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.137e-05/0.1345, allocations: 3.984 kB / 448.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.1345, allocations: 7.438 kB / 448.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1345, allocations: 0 / 448.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Templates: time 0.002586/0.1371, allocations: 372.6 kB / 448.9 MB, free: 10.69 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches