Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.746/1.746, allocations: 205.2 MB / 219 MB, free: 9.203 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.0008966/0.0008966, allocations: 89.67 kB / 267.1 MB, free: 9.277 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.099/0.099, allocations: 12.58 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.921e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 50.37 MB / 436.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.5549, allocations: 78.11 MB / 0.5024 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5552, allocations: 80.16 kB / 0.5025 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003257/0.5584, allocations: 1.373 MB / 0.5038 GB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5585, allocations: 4 kB / 0.5038 GB, free: 11.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.5585, allocations: 3.906 kB / 0.5038 GB, free: 11.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003705/0.5588, allocations: 356.5 kB / 0.5042 GB, free: 11.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.5589, allocations: 7.688 kB / 0.5042 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.559, allocations: 15.41 kB / 0.5042 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.5593, allocations: 195.9 kB / 0.5044 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.5593, allocations: 3.812 kB / 0.5044 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.5593, allocations: 10.86 kB / 0.5044 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.5597, allocations: 159.8 kB / 0.5046 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5598, allocations: 0 / 0.5046 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.5598, allocations: 3.938 kB / 0.5046 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.5599, allocations: 7.828 kB / 0.5046 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.5599, allocations: 27.06 kB / 0.5046 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.5605, allocations: 376.6 kB / 0.505 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.5607, allocations: 110.6 kB / 0.5051 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.5608, allocations: 51.23 kB / 0.5051 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.5608, allocations: 3.828 kB / 0.5051 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.5609, allocations: 45.23 kB / 0.5052 GB, free: 10.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.5609, allocations: 0 / 0.5052 GB, free: 10.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002654/0.5612, allocations: 85.16 kB / 0.5052 GB, free: 10.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.5612, allocations: 106.1 kB / 0.5053 GB, free: 10.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.5614, allocations: 129.3 kB / 0.5055 GB, free: 10.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.5614, allocations: 25.7 kB / 0.5055 GB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.5615, allocations: 88.23 kB / 0.5056 GB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.5615, allocations: 22.59 kB / 0.5056 GB, free: 10 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.5615, allocations: 7.812 kB / 0.5056 GB, free: 9.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.5616, allocations: 321.8 kB / 0.5059 GB, free: 9.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.5616, allocations: 11.16 kB / 0.5059 GB, free: 9.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.5617, allocations: 63.3 kB / 0.506 GB, free: 9.605 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.5617, allocations: 18.34 kB / 0.506 GB, free: 9.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5618, allocations: 3.875 kB / 0.506 GB, free: 9.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00012/0.5619, allocations: 99.48 kB / 0.5061 GB, free: 9.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5619, allocations: 7.312 kB / 0.5061 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5619, allocations: 3.984 kB / 0.5061 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5619, allocations: 3.781 kB / 0.5061 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.562, allocations: 24.69 kB / 0.5061 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.562, allocations: 2.766 kB / 0.5061 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.5621, allocations: 12.03 kB / 0.5062 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.5621, allocations: 7.906 kB / 0.5062 GB, free: 9.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.082e-05/0.5622, allocations: 116.1 kB / 0.5063 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.5623, allocations: 79.58 kB / 0.5063 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.5623, allocations: 14.44 kB / 0.5064 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5623, allocations: 3.812 kB / 0.5064 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5623, allocations: 0 / 0.5064 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5624, allocations: 3.844 kB / 0.5064 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.5626, allocations: 186.7 kB / 0.5065 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5626, allocations: 4 kB / 0.5065 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.5626, allocations: 21.33 kB / 0.5066 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5627, allocations: 3.812 kB / 0.5066 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.5627, allocations: 0 / 0.5066 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5627, allocations: 3.938 kB / 0.5066 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5627, allocations: 3.938 kB / 0.5066 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.5629, allocations: 320.2 kB / 0.5069 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.563, allocations: 102.2 kB / 0.507 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.563, allocations: 3.344 kB / 0.507 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.5631, allocations: 3.969 kB / 0.507 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.5632, allocations: 0 / 0.507 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.5632, allocations: 14.28 kB / 0.507 GB, free: 8.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.261e-05/0.5632, allocations: 111.5 kB / 0.5071 GB, free: 8.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.693e-06/0.5632, allocations: 0 / 0.5071 GB, free: 8.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.5635, allocations: 18.91 kB / 0.5071 GB, free: 8.719 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 8.892e-05/0.5636, allocations: 90.78 kB / 0.5072 GB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.5637, allocations: 53.03 kB / 0.5073 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5637, allocations: 4.562 kB / 0.5073 GB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.622e-05/0.5637, allocations: 7.844 kB / 0.5073 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.564, allocations: 38.64 kB / 0.5073 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.5643, allocations: 136.9 kB / 0.5074 GB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.5644, allocations: 0.7112 MB / 0.5081 GB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.277e-05/0.5645, allocations: 10.5 kB / 0.5081 GB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.5645, allocations: 11.38 kB / 0.5082 GB, free: 7.793 MB / 330.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5645, allocations: 0 / 0.5082 GB, free: 7.793 MB / 330.7 MB Notification: Performance of Templates: time 0.002863/0.5674, allocations: 0.6079 MB / 0.5088 GB, free: 7.719 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches