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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009825/0.0009822, allocations: 178.9 kB / 16.45 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.6 MB, free: 9.094 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007802/0.0007804, allocations: 88.97 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07562/0.07562, allocations: 12.61 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 16 kB / 392.7 MB, free: 66.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07395/0.07433, allocations: 50.37 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001218/0.07559, allocations: 1.124 MB / 444.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.07577, allocations: 39.89 kB / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.07583, allocations: 0 / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.07586, allocations: 0 / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.357e-05/0.0759, allocations: 7.938 kB / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.07612, allocations: 23.92 kB / 444.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.07619, allocations: 27.92 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.114e-05/0.07627, allocations: 7.984 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.0763, allocations: 4 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.07635, allocations: 11.92 kB / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.07637, allocations: 4 kB / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.07638, allocations: 0 / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.0764, allocations: 7.938 kB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.07642, allocations: 29.7 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.033e-05/0.07648, allocations: 23.95 kB / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.07649, allocations: 0 / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.0765, allocations: 0 / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.0765, allocations: 0 / 444.3 MB, free: 14.46 MB / 298.7 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.0003146/0.07682, allocations: 335.5 kB / 444.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.07686, allocations: 8.031 kB / 444.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.0769, allocations: 7.906 kB / 444.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.07702, allocations: 175 kB / 444.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.07704, allocations: 0 / 444.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.07706, allocations: 11.95 kB / 444.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.07734, allocations: 119.2 kB / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.07736, allocations: 0 / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.07737, allocations: 0 / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.07738, allocations: 0 / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.07748, allocations: 23.97 kB / 445 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.588e-05/0.07757, allocations: 157.7 kB / 445.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.07769, allocations: 58.55 kB / 445.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.07776, allocations: 28.86 kB / 445.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.07777, allocations: 3.953 kB / 445.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.07779, allocations: 34.56 kB / 445.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.0778, allocations: 0 / 445.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002111/0.07802, allocations: 73.58 kB / 445.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.07806, allocations: 59.41 kB / 445.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.485e-05/0.07811, allocations: 101.8 kB / 445.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.07812, allocations: 29.7 kB / 445.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/0.07815, allocations: 84.14 kB / 445.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.07816, allocations: 3.984 kB / 445.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.07817, allocations: 0 / 445.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.07821, allocations: 310.8 kB / 445.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.07823, allocations: 11.94 kB / 445.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.07825, allocations: 31.44 kB / 446 MB, free: 12.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.07827, allocations: 11.98 kB / 446 MB, free: 12.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.07828, allocations: 0 / 446 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.394e-05/0.07835, allocations: 61.58 kB / 446 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.07837, allocations: 12.06 kB / 446.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.07838, allocations: 4 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.0784, allocations: 4 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.07845, allocations: 3.938 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.07846, allocations: 7.938 kB / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.07848, allocations: 3.906 kB / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.07849, allocations: 4 kB / 446.1 MB, free: 12.48 MB / 298.7 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 5.13e-05/0.07855, allocations: 122.4 kB / 446.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.07867, allocations: 57.67 kB / 446.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.07869, allocations: 15.45 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.0787, allocations: 0 / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.07871, allocations: 0 / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.07872, allocations: 3.938 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.114e-05/0.07877, allocations: 157.7 kB / 446.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.07878, allocations: 0 / 446.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.07881, allocations: 4.234 kB / 446.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.07882, allocations: 0 / 446.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.07883, allocations: 4 kB / 446.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.07884, allocations: 3.953 kB / 446.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.07884, allocations: 0 / 446.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.07897, allocations: 93.08 kB / 446.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.079, allocations: 85.02 kB / 446.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.07901, allocations: 384 / 446.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.714e-05/0.07905, allocations: 4 kB / 446.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.07906, allocations: 3.953 kB / 446.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.07907, allocations: 8 kB / 446.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.459e-05/0.07909, allocations: 83.27 kB / 446.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.0791, allocations: 0 / 446.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.07928, allocations: 8 kB / 446.7 MB, free: 11.73 MB / 298.7 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 6.029e-05/0.07934, allocations: 99.19 kB / 446.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.07945, allocations: 27.98 kB / 446.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.07946, allocations: 0 / 446.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.07946, allocations: 0 / 446.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.07968, allocations: 27.92 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.07992, allocations: 146.6 kB / 447 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.08004, allocations: 0.6848 MB / 447.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.08006, allocations: 15.44 kB / 447.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.08007, allocations: 0 / 447.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of Templates: time 0.001617/0.08169, allocations: 0.5836 MB / 448.3 MB, free: 10.09 MB / 298.7 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/jenkins1/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