Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 102.5 kB / 16.07 MB, free: 32 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.001296/0.001296, allocations: 181.7 kB / 16.96 MB, free: 6.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.233/1.233, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.06201/0.06201, allocations: 12.6 MB / 284 MB, free: 8.578 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.0006692/0.0006694, allocations: 20 kB / 345.2 MB, free: 20.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.07955, allocations: 50.38 MB / 395.5 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001428/0.08102, allocations: 1.16 MB / 396.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.08127, allocations: 91.75 kB / 396.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.08134, allocations: 0 / 396.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.08136, allocations: 4 kB / 396.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.327e-05/0.0814, allocations: 3.938 kB / 396.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.08163, allocations: 27.91 kB / 396.8 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.077e-05/0.08171, allocations: 23.92 kB / 396.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.0818, allocations: 11.94 kB / 396.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.08183, allocations: 4 kB / 396.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.08188, allocations: 15.92 kB / 396.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.0819, allocations: 0 / 396.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.08191, allocations: 0 / 396.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.08193, allocations: 7.938 kB / 396.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.08197, allocations: 37.62 kB / 396.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.145e-05/0.08204, allocations: 27.91 kB / 397 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.08205, allocations: 0 / 397 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08205, allocations: 0 / 397 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.08206, allocations: 0 / 397 MB, free: 0.9883 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.0003307/0.08239, allocations: 343.7 kB / 397.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.08243, allocations: 8.031 kB / 397.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.08247, allocations: 8.844 kB / 397.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.08261, allocations: 172.3 kB / 397.5 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.08263, allocations: 384 / 397.5 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.08264, allocations: 8.375 kB / 397.5 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.08294, allocations: 115.8 kB / 397.6 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.08296, allocations: 192 / 397.6 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.08297, allocations: 3.938 kB / 397.6 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.08298, allocations: 4 kB / 397.6 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.08306, allocations: 19.98 kB / 397.6 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.08319, allocations: 165.6 kB / 397.8 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.08336, allocations: 62.56 kB / 397.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.08342, allocations: 24.83 kB / 397.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.08345, allocations: 8.031 kB / 397.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.08347, allocations: 34.56 kB / 397.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.08348, allocations: 0 / 397.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002031/0.08369, allocations: 77.59 kB / 398 MB, free: 15.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.08374, allocations: 63.34 kB / 398.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.08382, allocations: 105.8 kB / 398.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.08383, allocations: 25.7 kB / 398.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.08387, allocations: 84.14 kB / 398.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.08389, allocations: 4 kB / 398.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.08391, allocations: 13.72 kB / 398.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.084, allocations: 314.8 kB / 398.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.08402, allocations: 8 kB / 398.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.08405, allocations: 23.44 kB / 398.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.08409, allocations: 35.38 kB / 398.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0841, allocations: 0 / 398.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.085e-05/0.08417, allocations: 61.47 kB / 398.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.0842, allocations: 9.25 kB / 398.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.08421, allocations: 8.062 kB / 398.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.08422, allocations: 0 / 398.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.792e-05/0.08428, allocations: 11.94 kB / 398.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.08429, allocations: 3.984 kB / 398.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.08431, allocations: 4 kB / 398.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.08432, allocations: 0 / 398.8 MB, free: 14.94 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.436e-05/0.08439, allocations: 113.8 kB / 398.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.0845, allocations: 61.69 kB / 398.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.08454, allocations: 11.83 kB / 398.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.08455, allocations: 4 kB / 398.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.08455, allocations: 0 / 398.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.08456, allocations: 0 / 398.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.664e-05/0.08464, allocations: 153.9 kB / 399.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.08465, allocations: 0 / 399.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.08471, allocations: 19.92 kB / 399.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.08472, allocations: 0 / 399.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.08473, allocations: 3.938 kB / 399.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.08474, allocations: 0 / 399.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.08474, allocations: 7.938 kB / 399.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.08488, allocations: 89.02 kB / 399.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.08493, allocations: 81.11 kB / 399.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.08494, allocations: 3.938 kB / 399.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.08497, allocations: 8 kB / 399.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-06/0.08498, allocations: 4 kB / 399.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.08499, allocations: 0 / 399.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.08503, allocations: 83.27 kB / 399.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08504, allocations: 0 / 399.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001758/0.08522, allocations: 8 kB / 399.4 MB, free: 14.19 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 7.77e-05/0.0853, allocations: 91.25 kB / 399.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.362e-05/0.0854, allocations: 28.11 kB / 399.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.08541, allocations: 4.062 kB / 399.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.08542, allocations: 0 / 399.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.08562, allocations: 31.92 kB / 399.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.08585, allocations: 112.8 kB / 399.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.08604, allocations: 0.6848 MB / 400.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.114e-05/0.08606, allocations: 7.906 kB / 400.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.08608, allocations: 15.44 kB / 400.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.08609, allocations: 0 / 400.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Templates: time 0.001741/0.08783, allocations: 309.1 kB / 400.7 MB, free: 12.86 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches