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.001388/0.001388, allocations: 100.6 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 178.1 kB / 16.62 MB, free: 6.422 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.689/1.689, allocations: 205.4 MB / 222.8 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08507/0.08507, allocations: 12.61 MB / 283.7 MB, free: 8.695 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.0007211/0.0007214, allocations: 20 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.114, allocations: 50.39 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001858/0.1159, allocations: 1.122 MB / 396 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001989/0.1161, allocations: 31.91 kB / 396 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.1162, allocations: 0 / 396 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.1162, allocations: 3.938 kB / 396.1 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.645e-05/0.1163, allocations: 4 kB / 396.1 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1166, allocations: 19.97 kB / 396.1 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.1167, allocations: 23.98 kB / 396.1 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.1168, allocations: 7.984 kB / 396.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.1168, allocations: 11.94 kB / 396.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.1169, allocations: 7.922 kB / 396.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.1169, allocations: 4 kB / 396.1 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.1169, allocations: 0 / 396.1 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.1169, allocations: 3.984 kB / 396.1 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.117, allocations: 37.64 kB / 396.2 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.21e-05/0.117, allocations: 15.97 kB / 396.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.117, allocations: 0 / 396.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1171, allocations: 4 kB / 396.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1171, allocations: 0 / 396.2 MB, free: 1.492 MB / 286.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.0004508/0.1175, allocations: 339.5 kB / 396.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1176, allocations: 8.031 kB / 396.5 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.1176, allocations: 11.84 kB / 396.5 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1178, allocations: 171.1 kB / 396.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.1179, allocations: 0 / 396.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1179, allocations: 7.953 kB / 396.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.1182, allocations: 119.3 kB / 396.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1183, allocations: 0 / 396.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1183, allocations: 0 / 396.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1183, allocations: 0 / 396.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1184, allocations: 23.97 kB / 396.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.1187, allocations: 157.6 kB / 397 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1189, allocations: 62.52 kB / 397.1 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1189, allocations: 0 / 397.1 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.119, allocations: 34.52 kB / 397.1 MB, free: 420 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.119, allocations: 0 / 397.1 MB, free: 420 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002769/0.1193, allocations: 77.66 kB / 397.2 MB, free: 336 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.1194, allocations: 59.41 kB / 397.2 MB, free: 264 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.1195, allocations: 101.8 kB / 397.3 MB, free: 152 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1195, allocations: 29.7 kB / 397.4 MB, free: 116 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.1195, allocations: 88.12 kB / 397.5 MB, free: 24 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.1196, allocations: 0 / 397.5 MB, free: 24 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1196, allocations: 7.938 kB / 397.5 MB, free: 16 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1197, allocations: 314.8 kB / 397.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.1197, allocations: 4 kB / 397.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.1198, allocations: 27.44 kB / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.1198, allocations: 16 kB / 397.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1198, allocations: 3.984 kB / 397.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.733e-05/0.1199, allocations: 53.58 kB / 397.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.12, allocations: 13.2 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.12, allocations: 0 / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.12, allocations: 3.984 kB / 397.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.1201, allocations: 4 kB / 397.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1201, allocations: 8.125 kB / 397.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.1201, allocations: 7.906 kB / 397.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1201, allocations: 4 kB / 397.9 MB, free: 15.54 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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.1202, allocations: 125.5 kB / 398 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1204, allocations: 61.67 kB / 398.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.1204, allocations: 7.453 kB / 398.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1204, allocations: 0 / 398.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1205, allocations: 0 / 398.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1205, allocations: 0 / 398.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.1206, allocations: 161.7 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1206, allocations: 384 / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1206, allocations: 4 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1207, allocations: 0 / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1207, allocations: 8 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1207, allocations: 7.953 kB / 398.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1207, allocations: 0 / 398.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1209, allocations: 89.27 kB / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.1209, allocations: 96.94 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.121, allocations: 0 / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.008e-05/0.121, allocations: 4 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-06/0.121, allocations: 3.953 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.121, allocations: 3.938 kB / 398.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.767e-05/0.1211, allocations: 87.27 kB / 398.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1211, allocations: 0 / 398.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.1213, allocations: 4 kB / 398.6 MB, free: 14.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001338/0.1214, allocations: 91.25 kB / 398.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1216, allocations: 35.92 kB / 398.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1216, allocations: 0 / 398.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1216, allocations: 0 / 398.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1219, allocations: 27.92 kB / 398.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.1222, allocations: 116.7 kB / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1224, allocations: 0.6851 MB / 399.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.882e-05/0.1225, allocations: 4 kB / 399.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.1225, allocations: 11.42 kB / 399.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1225, allocations: 3.938 kB / 399.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Templates: time 0.002327/0.1248, allocations: 320.1 kB / 399.8 MB, free: 13.43 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches