Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002258, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002335, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.001/1.001, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09182/1.093, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2742/0.2742, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02512/0.2993, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.389e-05, allocations: 4.031 kB / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001588/0.001612, allocations: 0.8788 MB / 294.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.001723, allocations: 47.77 kB / 294.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.001786, allocations: 4 kB / 294.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.259e-05/0.001849, allocations: 11.91 kB / 294.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.247e-05/0.001861, allocations: 7.938 kB / 294.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.144e-05/0.001923, allocations: 15.98 kB / 294.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.002028, allocations: 39.86 kB / 294.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.07e-05/0.002109, allocations: 12 kB / 294.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.002165, allocations: 23.95 kB / 294.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.002202, allocations: 7.938 kB / 294.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.002221, allocations: 4 kB / 294.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-06/0.00223, allocations: 4 kB / 294.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.002243, allocations: 4 kB / 294.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.002266, allocations: 11.94 kB / 294.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.002373, allocations: 27.84 kB / 294.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.768e-05/0.002391, allocations: 4 kB / 295 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.002392, allocations: 0 / 295 MB, free: 4.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.002408, allocations: 0 / 295 MB, free: 4.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003782/0.002786, allocations: 253.7 kB / 295.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.002818, allocations: 16.91 kB / 295.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.002846, allocations: 4.938 kB / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.002984, allocations: 125.7 kB / 295.3 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.002994, allocations: 8.375 kB / 295.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.00301, allocations: 384 / 295.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.751e-05/0.003077, allocations: 50.25 kB / 295.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.003085, allocations: 192 / 295.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.003091, allocations: 384 / 295.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.003096, allocations: 384 / 295.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.003119, allocations: 11.88 kB / 295.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.003397, allocations: 172.2 kB / 295.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.003438, allocations: 22.56 kB / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-06/0.003448, allocations: 8.797 kB / 295.6 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.003455, allocations: 4.062 kB / 295.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.695e-05/0.003542, allocations: 55.34 kB / 295.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.003543, allocations: 0 / 295.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 9.039e-05/0.003633, allocations: 41.69 kB / 295.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.003666, allocations: 51.41 kB / 295.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.897e-05/0.003725, allocations: 122.7 kB / 295.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.003734, allocations: 25.7 kB / 295.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.003765, allocations: 92.09 kB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.003777, allocations: 3.953 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.003805, allocations: 25.62 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.003885, allocations: 314.8 kB / 296.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.003892, allocations: 0 / 296.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.003909, allocations: 21.7 kB / 296.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/0.003935, allocations: 25.97 kB / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.003937, allocations: 0 / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.052e-05/0.003987, allocations: 57.56 kB / 296.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.004, allocations: 4 kB / 296.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004004, allocations: 0 / 296.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.004013, allocations: 4 kB / 296.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.387e-05/0.004047, allocations: 4 kB / 296.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002833/0.00433, allocations: 3.984 kB / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.004348, allocations: 4.031 kB / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.004352, allocations: 4 kB / 296.5 MB, free: 2.441 MB / 282.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: 2 (greaterEqualThreshold.y,$whenCondition1) * 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 5.246e-05/0.004404, allocations: 113.7 kB / 296.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.004412, allocations: 7.938 kB / 296.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.00443, allocations: 8 kB / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.004432, allocations: 0 / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.004433, allocations: 0 / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.004436, allocations: 3.984 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.004592, allocations: 194.8 kB / 296.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.004594, allocations: 3.938 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.004613, allocations: 11.94 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-06/0.004617, allocations: 0 / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004618, allocations: 0 / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.004627, allocations: 8 kB / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004628, allocations: 0 / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.004629, allocations: 0 / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.601e-05/0.004705, allocations: 139.5 kB / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.004714, allocations: 4 kB / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.864e-05/0.004743, allocations: 0 / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.004762, allocations: 0 / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.004765, allocations: 0 / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.941e-05/0.004784, allocations: 28.86 kB / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004784, allocations: 0 / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001062/0.00489, allocations: 4 kB / 297 MB, free: 1.871 MB / 282.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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 6.215e-05/0.004952, allocations: 84.3 kB / 297.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.408e-05/0.005006, allocations: 16.84 kB / 297.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.005009, allocations: 0 / 297.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.005022, allocations: 12.86 kB / 297.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.005154, allocations: 19.19 kB / 297.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.005363, allocations: 145.3 kB / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.89e-05/0.005392, allocations: 63.41 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.715e-05/0.005409, allocations: 8 kB / 297.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.005443, allocations: 51.38 kB / 297.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.005443, allocations: 0 / 297.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of Templates: time 0.002231/0.007675, allocations: 0.549 MB / 297.9 MB, free: 0.8867 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7206788500770926]