Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009302/0.0009302, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000983/0.000983, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9118/0.9118, allocations: 158.6 MB / 186 MB, free: 2.742 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.145/0.145, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.917e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003904/0.003933, allocations: 1.699 MB / 300.8 MB, free: 480 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1354/0.1393, allocations: 0.5902 MB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1394, allocations: 6.859 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1395, allocations: 8.906 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.1396, allocations: 16.23 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1399, allocations: 93.7 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1401, allocations: 118.8 kB / 301.6 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1402, allocations: 17.66 kB / 301.6 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1403, allocations: 68.66 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.1404, allocations: 31.8 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1404, allocations: 8 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.1404, allocations: 9.25 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.1405, allocations: 17.89 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1405, allocations: 29.78 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1407, allocations: 74.11 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1407, allocations: 1.656 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1407, allocations: 0 / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1407, allocations: 1.156 kB / 301.9 MB, free: 19.21 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003946/0.1411, allocations: 305 kB / 302.2 MB, free: 18.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1411, allocations: 10.19 kB / 302.2 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1411, allocations: 12.2 kB / 302.2 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1413, allocations: 140.9 kB / 302.3 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1413, allocations: 7.812 kB / 302.3 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1413, allocations: 10.66 kB / 302.3 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1415, allocations: 85.34 kB / 302.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1415, allocations: 1.375 kB / 302.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1415, allocations: 4.781 kB / 302.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1415, allocations: 6.188 kB / 302.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.1415, allocations: 21.8 kB / 302.5 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.1419, allocations: 229.2 kB / 302.7 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.142, allocations: 47.09 kB / 302.7 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.142, allocations: 11.23 kB / 302.7 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.142, allocations: 1.094 kB / 302.7 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.1421, allocations: 71.61 kB / 302.8 MB, free: 18.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.1421, allocations: 3.625 kB / 302.8 MB, free: 18.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001194/0.1422, allocations: 65.28 kB / 302.9 MB, free: 18.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.1423, allocations: 52.53 kB / 302.9 MB, free: 18.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.1423, allocations: 137.5 kB / 303.1 MB, free: 18.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.1423, allocations: 25.7 kB / 303.1 MB, free: 18.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.1424, allocations: 105.8 kB / 303.2 MB, free: 18.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1424, allocations: 18.73 kB / 303.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1424, allocations: 25.86 kB / 303.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.719e-05/0.1424, allocations: 325.1 kB / 303.6 MB, free: 17.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.1425, allocations: 15.39 kB / 303.6 MB, free: 17.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.1425, allocations: 27 kB / 303.6 MB, free: 17.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.423e-05/0.1425, allocations: 34.58 kB / 303.6 MB, free: 17.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1425, allocations: 2.438 kB / 303.6 MB, free: 17.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.225e-05/0.1426, allocations: 61.75 kB / 303.7 MB, free: 17.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1426, allocations: 4.812 kB / 303.7 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1426, allocations: 1.922 kB / 303.7 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1427, allocations: 1.062 kB / 303.7 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.1427, allocations: 20.75 kB / 303.7 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.1427, allocations: 1.672 kB / 303.7 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1428, allocations: 12.77 kB / 303.7 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1428, allocations: 1.062 kB / 303.7 MB, free: 17.78 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: 7 ($whenCondition1,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.15e-05/0.1428, allocations: 126.1 kB / 303.9 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.1428, allocations: 6.844 kB / 303.9 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.1429, allocations: 12.73 kB / 303.9 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1429, allocations: 1.25 kB / 303.9 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1429, allocations: 0.875 kB / 303.9 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1429, allocations: 5.922 kB / 303.9 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.143, allocations: 227.2 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.143, allocations: 1.828 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.1431, allocations: 7.969 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1431, allocations: 1.828 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1431, allocations: 1.312 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1431, allocations: 1.734 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1431, allocations: 0 / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1432, allocations: 174.8 kB / 304.3 MB, free: 17.33 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.1432, allocations: 10.67 kB / 304.3 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.1433, allocations: 2.109 kB / 304.3 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.229e-05/0.1433, allocations: 13.38 kB / 304.3 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.1434, allocations: 14.83 kB / 304.3 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1434, allocations: 2.141 kB / 304.3 MB, free: 17.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.489e-05/0.1434, allocations: 22.81 kB / 304.4 MB, free: 17.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1434, allocations: 0 / 304.4 MB, free: 17.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000138/0.1435, allocations: 22.53 kB / 304.4 MB, free: 17.31 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: 5 (integrator.reset,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.362e-05/0.1436, allocations: 74.91 kB / 304.5 MB, free: 17.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.455e-05/0.1437, allocations: 47.95 kB / 304.5 MB, free: 17.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1437, allocations: 0.9375 kB / 304.5 MB, free: 17.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.1437, allocations: 24.19 kB / 304.5 MB, free: 17.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.1439, allocations: 23.88 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.1442, allocations: 211.1 kB / 304.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.1443, allocations: 62.97 kB / 304.8 MB, free: 16.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.485e-05/0.1443, allocations: 11.08 kB / 304.8 MB, free: 16.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.1443, allocations: 60.41 kB / 304.9 MB, free: 16.93 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1443, allocations: 0 / 304.9 MB, free: 16.93 MB / 282.7 MB Notification: Performance of Templates: time 0.003461/0.1478, allocations: 1.35 MB / 306.2 MB, free: 16.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.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.886980880983174]