Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 204.4 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 226.5 MB / 245.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008463/0.000846, allocations: 87.5 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3856/0.3856, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003269, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4029, allocations: 62.97 MB / 0.5184 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.5278, allocations: 88.37 MB / 0.6047 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.5281, allocations: 67.97 kB / 0.6048 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009782/0.5379, allocations: 3.013 MB / 0.6077 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.538, allocations: 0 / 0.6077 GB, free: 13.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.538, allocations: 0 / 0.6077 GB, free: 13.82 MB / 426.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.0007463/0.5388, allocations: 439.1 kB / 0.6081 GB, free: 13.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.5388, allocations: 8.031 kB / 0.6082 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.5389, allocations: 12.84 kB / 0.6082 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.5392, allocations: 216 kB / 0.6084 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.5393, allocations: 8.375 kB / 0.6084 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.5393, allocations: 8.359 kB / 0.6084 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.5397, allocations: 112.5 kB / 0.6085 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5397, allocations: 192 / 0.6085 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.5397, allocations: 7.938 kB / 0.6085 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5397, allocations: 4 kB / 0.6085 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.5399, allocations: 51.97 kB / 0.6086 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.5407, allocations: 380.5 kB / 0.6089 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.5411, allocations: 118.4 kB / 0.609 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.5413, allocations: 44.91 kB / 0.6091 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.5413, allocations: 4 kB / 0.6091 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.5416, allocations: 103.3 kB / 0.6092 GB, free: 12.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.5416, allocations: 0 / 0.6092 GB, free: 12.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004506/0.5421, allocations: 157.4 kB / 0.6093 GB, free: 12.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5421, allocations: 59.41 kB / 0.6094 GB, free: 11.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.5423, allocations: 153.4 kB / 0.6095 GB, free: 11.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.5423, allocations: 29.64 kB / 0.6096 GB, free: 11.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.5423, allocations: 100.1 kB / 0.6097 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.5424, allocations: 27.77 kB / 0.6097 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.5424, allocations: 4 kB / 0.6097 GB, free: 11.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.5425, allocations: 318.8 kB / 0.61 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.5426, allocations: 43.97 kB / 0.61 GB, free: 11.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.5427, allocations: 53.69 kB / 0.6101 GB, free: 11.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.543, allocations: 81.62 kB / 0.6102 GB, free: 11.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.543, allocations: 0 / 0.6102 GB, free: 11.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002749/0.5432, allocations: 129.5 kB / 0.6103 GB, free: 10.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5433, allocations: 4 kB / 0.6103 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5433, allocations: 0 / 0.6103 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.5433, allocations: 11.92 kB / 0.6103 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.5434, allocations: 24.02 kB / 0.6103 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5434, allocations: 0 / 0.6103 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.251e-05/0.5435, allocations: 19.98 kB / 0.6103 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.5435, allocations: 0 / 0.6103 GB, free: 10.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked 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 9.258e-05/0.5436, allocations: 121.8 kB / 0.6105 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.5437, allocations: 7.906 kB / 0.6105 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.5437, allocations: 24.64 kB / 0.6105 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5437, allocations: 4.281 kB / 0.6105 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5437, allocations: 0 / 0.6105 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5437, allocations: 0 / 0.6105 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.5442, allocations: 398.3 kB / 0.6109 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5442, allocations: 8 kB / 0.6109 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.5443, allocations: 15.92 kB / 0.6109 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5443, allocations: 0 / 0.6109 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5444, allocations: 7.938 kB / 0.6109 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5444, allocations: 0 / 0.6109 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5444, allocations: 0 / 0.6109 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.5449, allocations: 267.7 kB / 0.6112 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.5449, allocations: 89.05 kB / 0.6112 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.5449, allocations: 0 / 0.6112 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.5451, allocations: 19.98 kB / 0.6113 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.5451, allocations: 15.97 kB / 0.6113 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.5452, allocations: 8.062 kB / 0.6113 GB, free: 9.844 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.5452, allocations: 115.2 kB / 0.6114 GB, free: 9.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5452, allocations: 3.938 kB / 0.6114 GB, free: 9.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000225/0.5455, allocations: 20 kB / 0.6114 GB, free: 9.711 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001155/0.5456, allocations: 91.25 kB / 0.6115 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.5459, allocations: 96.88 kB / 0.6116 GB, free: 9.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5459, allocations: 0 / 0.6116 GB, free: 9.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.546, allocations: 43.92 kB / 0.6116 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.5464, allocations: 29.91 kB / 0.6117 GB, free: 9.449 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.5469, allocations: 239.3 kB / 0.6119 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.5471, allocations: 0.6965 MB / 0.6126 GB, free: 8.469 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.321e-05/0.5472, allocations: 8.547 kB / 0.6126 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.5472, allocations: 15.44 kB / 0.6126 GB, free: 8.449 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5472, allocations: 0 / 0.6126 GB, free: 8.449 MB / 426.7 MB Notification: Performance of Templates: time 0.003361/0.5506, allocations: 1.024 MB / 0.6136 GB, free: 7.43 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches