Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 171.1 kB / 16.8 MB, free: 5.02 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.575/1.575, allocations: 205.4 MB / 223 MB, free: 9.023 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.0007902/0.0007901, allocations: 82.42 kB / 271.3 MB, free: 8.25 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.08676/0.08676, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004523, allocations: 12 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09823, allocations: 50.37 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.467, allocations: 77.36 MB / 0.5087 GB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.4673, allocations: 71.66 kB / 0.5088 GB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001893/0.4692, allocations: 0.7646 MB / 0.5096 GB, free: 13.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4692, allocations: 0 / 0.5096 GB, free: 13.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4693, allocations: 3.938 kB / 0.5096 GB, free: 13.21 MB / 330.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.0003398/0.4696, allocations: 343 kB / 0.5099 GB, free: 12.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4697, allocations: 11 kB / 0.5099 GB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.4697, allocations: 13.75 kB / 0.5099 GB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4699, allocations: 172.3 kB / 0.5101 GB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.4699, allocations: 4.219 kB / 0.5101 GB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.4699, allocations: 4.25 kB / 0.5101 GB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.4703, allocations: 125.2 kB / 0.5102 GB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4703, allocations: 192 / 0.5102 GB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4703, allocations: 3.938 kB / 0.5102 GB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4703, allocations: 0 / 0.5102 GB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.4704, allocations: 31.36 kB / 0.5102 GB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.4706, allocations: 158.9 kB / 0.5104 GB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.4707, allocations: 57.17 kB / 0.5104 GB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.4708, allocations: 33.88 kB / 0.5105 GB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.4708, allocations: 4 kB / 0.5105 GB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.4708, allocations: 30.56 kB / 0.5105 GB, free: 12.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.4708, allocations: 0 / 0.5105 GB, free: 12.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002534/0.4711, allocations: 92.67 kB / 0.5106 GB, free: 12.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.4712, allocations: 55.28 kB / 0.5107 GB, free: 12.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.4712, allocations: 104.5 kB / 0.5108 GB, free: 12.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.4713, allocations: 25.7 kB / 0.5108 GB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.4713, allocations: 91.3 kB / 0.5109 GB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.4713, allocations: 0 / 0.5109 GB, free: 12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.4713, allocations: 0 / 0.5109 GB, free: 12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.4714, allocations: 317.7 kB / 0.5112 GB, free: 11.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.4714, allocations: 3.844 kB / 0.5112 GB, free: 11.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.4715, allocations: 34.28 kB / 0.5112 GB, free: 11.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.4715, allocations: 38.81 kB / 0.5112 GB, free: 11.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4715, allocations: 0 / 0.5112 GB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.051e-05/0.4716, allocations: 62.53 kB / 0.5113 GB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4716, allocations: 7.75 kB / 0.5113 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4716, allocations: 4.641 kB / 0.5113 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4717, allocations: 7.938 kB / 0.5113 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.4717, allocations: 7.078 kB / 0.5113 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4717, allocations: 3.875 kB / 0.5113 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.4718, allocations: 0 / 0.5113 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.4718, allocations: 4.438 kB / 0.5113 GB, free: 11.57 MB / 330.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.868e-05/0.4718, allocations: 122.3 kB / 0.5115 GB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.472, allocations: 69.36 kB / 0.5115 GB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.472, allocations: 11.78 kB / 0.5115 GB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.472, allocations: 0 / 0.5115 GB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.472, allocations: 4 kB / 0.5115 GB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.472, allocations: 0 / 0.5115 GB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.098e-05/0.4721, allocations: 163.5 kB / 0.5117 GB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4721, allocations: 384 / 0.5117 GB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.4722, allocations: 14.86 kB / 0.5117 GB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4722, allocations: 0 / 0.5117 GB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.4722, allocations: 7.938 kB / 0.5117 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4722, allocations: 0 / 0.5117 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4722, allocations: 0 / 0.5117 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.4723, allocations: 92.48 kB / 0.5118 GB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.4724, allocations: 81.05 kB / 0.5119 GB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4724, allocations: 7.172 kB / 0.5119 GB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.641e-05/0.4724, allocations: 3.906 kB / 0.5119 GB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-06/0.4724, allocations: 0 / 0.5119 GB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.4724, allocations: 7.562 kB / 0.5119 GB, free: 11.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.4725, allocations: 82.06 kB / 0.512 GB, free: 10.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4725, allocations: 0 / 0.512 GB, free: 10.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.4727, allocations: 7.75 kB / 0.512 GB, free: 10.95 MB / 330.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 9.364e-05/0.4728, allocations: 102.7 kB / 0.5121 GB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.4729, allocations: 30.28 kB / 0.5121 GB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4729, allocations: 3.75 kB / 0.5121 GB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.4729, allocations: 0 / 0.5121 GB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.4732, allocations: 27.86 kB / 0.5121 GB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.4735, allocations: 127.3 kB / 0.5123 GB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.4737, allocations: 0.6844 MB / 0.5129 GB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.669e-05/0.4737, allocations: 4 kB / 0.5129 GB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.4737, allocations: 7.438 kB / 0.5129 GB, free: 10 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4737, allocations: 0 / 0.5129 GB, free: 10 MB / 330.7 MB Notification: Performance of Templates: time 0.002368/0.4761, allocations: 391.5 kB / 0.5133 GB, free: 9.824 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches