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.0009644/0.0009645, allocations: 179.1 kB / 15.8 MB, free: 6.34 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.59/1.59, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008658/0.0008656, allocations: 90.86 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07792/0.07792, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004689, allocations: 13.72 kB / 392 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 50.37 MB / 442.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.231, allocations: 77.32 MB / 0.5075 GB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.2314, allocations: 79.89 kB / 0.5076 GB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001917/0.2333, allocations: 0.7737 MB / 0.5083 GB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2333, allocations: 0 / 0.5083 GB, free: 12.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2333, allocations: 4 kB / 0.5083 GB, free: 12.67 MB / 362.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.000309/0.2336, allocations: 331.3 kB / 0.5087 GB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2337, allocations: 11.97 kB / 0.5087 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.2337, allocations: 11.91 kB / 0.5087 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.2339, allocations: 171.3 kB / 0.5088 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.2339, allocations: 4 kB / 0.5089 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2339, allocations: 11.94 kB / 0.5089 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.2343, allocations: 127.2 kB / 0.509 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.2343, allocations: 0 / 0.509 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.2343, allocations: 0 / 0.509 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.2343, allocations: 0 / 0.509 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.2344, allocations: 27.97 kB / 0.509 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.2346, allocations: 157.7 kB / 0.5092 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.2347, allocations: 58.58 kB / 0.5092 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.2347, allocations: 4.078 kB / 0.5092 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2348, allocations: 38.5 kB / 0.5093 GB, free: 11.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2348, allocations: 0 / 0.5093 GB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002413/0.235, allocations: 81.56 kB / 0.5093 GB, free: 11.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.2351, allocations: 59.41 kB / 0.5094 GB, free: 11.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.2352, allocations: 93 kB / 0.5095 GB, free: 11.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2352, allocations: 29.7 kB / 0.5095 GB, free: 11.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.2352, allocations: 92.11 kB / 0.5096 GB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-06/0.2352, allocations: 0 / 0.5096 GB, free: 11.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2352, allocations: 4 kB / 0.5096 GB, free: 11.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2354, allocations: 314.8 kB / 0.5099 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.2354, allocations: 7.938 kB / 0.5099 GB, free: 10.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.2354, allocations: 35.42 kB / 0.5099 GB, free: 10.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/0.2354, allocations: 12 kB / 0.51 GB, free: 10.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2354, allocations: 0 / 0.51 GB, free: 10.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.724e-05/0.2355, allocations: 53.62 kB / 0.51 GB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2356, allocations: 8.125 kB / 0.51 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2356, allocations: 7.953 kB / 0.51 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2356, allocations: 0 / 0.51 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.2357, allocations: 11.94 kB / 0.51 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2357, allocations: 4 kB / 0.51 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.2357, allocations: 7.906 kB / 0.51 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2357, allocations: 4 kB / 0.51 GB, free: 10.7 MB / 362.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 0.0001032/0.2358, allocations: 117.5 kB / 0.5102 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.236, allocations: 69.66 kB / 0.5102 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.236, allocations: 11.91 kB / 0.5102 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.236, allocations: 7.953 kB / 0.5102 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.236, allocations: 0 / 0.5102 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.236, allocations: 0 / 0.5102 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2362, allocations: 161.6 kB / 0.5104 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2362, allocations: 0 / 0.5104 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.2362, allocations: 8.375 kB / 0.5104 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2363, allocations: 0 / 0.5104 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.2363, allocations: 0 / 0.5104 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2363, allocations: 4 kB / 0.5104 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2363, allocations: 7.953 kB / 0.5104 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.2365, allocations: 101.2 kB / 0.5105 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.2366, allocations: 81.05 kB / 0.5106 GB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2366, allocations: 4 kB / 0.5106 GB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.006e-05/0.2366, allocations: 3.984 kB / 0.5106 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-06/0.2366, allocations: 0 / 0.5106 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.2367, allocations: 7.953 kB / 0.5106 GB, free: 10.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.344e-05/0.2367, allocations: 83.28 kB / 0.5107 GB, free: 9.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2367, allocations: 0 / 0.5107 GB, free: 9.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.2369, allocations: 8 kB / 0.5107 GB, free: 9.926 MB / 362.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 0.000121/0.237, allocations: 95.19 kB / 0.5108 GB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.2372, allocations: 35.97 kB / 0.5108 GB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2372, allocations: 0 / 0.5108 GB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.2372, allocations: 0 / 0.5108 GB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.2375, allocations: 39.62 kB / 0.5109 GB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.2379, allocations: 121 kB / 0.511 GB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.2382, allocations: 0.6848 MB / 0.5116 GB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.736e-05/0.2382, allocations: 256 / 0.5116 GB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.2383, allocations: 11.44 kB / 0.5117 GB, free: 8.887 MB / 362.7 MB Notification: Performance of SimCode: time 1.714e-06/0.2383, allocations: 0 / 0.5117 GB, free: 8.887 MB / 362.7 MB Notification: Performance of Templates: time 0.002296/0.2406, allocations: 377.5 kB / 0.512 GB, free: 8.527 MB / 362.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/jenkins/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