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.001341/0.001341, allocations: 80.05 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.001417/0.001417, allocations: 169 kB / 24.14 MB, free: 364 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.8588/0.8588, allocations: 158.6 MB / 186 MB, free: 2.746 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.126/0.126, 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.864e-06/1.864e-06, allocations: 0 / 299 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.014e-05, allocations: 2.312 kB / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003571/0.003601, allocations: 1.652 MB / 300.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1387/0.1423, allocations: 0.5906 MB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1424, allocations: 5.594 kB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1425, allocations: 8.297 kB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.827e-05/0.1426, allocations: 21.09 kB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1429, allocations: 85.59 kB / 301.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1431, allocations: 120 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1432, allocations: 18.11 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1434, allocations: 73.25 kB / 301.6 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.1434, allocations: 25.25 kB / 301.6 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.1435, allocations: 9.25 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.1435, allocations: 7.719 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.1435, allocations: 25.31 kB / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.1436, allocations: 25.88 kB / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1438, allocations: 72.44 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1438, allocations: 1.656 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1438, allocations: 1.031 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1438, allocations: 0 / 301.8 MB, free: 19.2 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.0005261/0.1443, allocations: 304.5 kB / 302.1 MB, free: 18.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1443, allocations: 10.09 kB / 302.1 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.1444, allocations: 12.02 kB / 302.1 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1446, allocations: 144.8 kB / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1446, allocations: 4.406 kB / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1446, allocations: 10.3 kB / 302.3 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1448, allocations: 87.97 kB / 302.3 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1448, allocations: 1.531 kB / 302.3 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1448, allocations: 5.703 kB / 302.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1448, allocations: 5.656 kB / 302.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.1449, allocations: 20.97 kB / 302.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.1452, allocations: 224.3 kB / 302.6 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.486e-05/0.1453, allocations: 52.58 kB / 302.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.1453, allocations: 11.14 kB / 302.7 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1453, allocations: 6.734 kB / 302.7 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.1454, allocations: 66.44 kB / 302.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1454, allocations: 1.75 kB / 302.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001346/0.1456, allocations: 69.27 kB / 302.8 MB, free: 18.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.1456, allocations: 53.28 kB / 302.9 MB, free: 18.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.1457, allocations: 134.5 kB / 303 MB, free: 18.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.1457, allocations: 30.3 kB / 303 MB, free: 18.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.1457, allocations: 96.67 kB / 303.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1457, allocations: 26.14 kB / 303.1 MB, free: 18.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1458, allocations: 26.83 kB / 303.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.1458, allocations: 320.9 kB / 303.5 MB, free: 17.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.1459, allocations: 7.25 kB / 303.5 MB, free: 17.87 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.1459, allocations: 27.48 kB / 303.5 MB, free: 17.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.1459, allocations: 35.84 kB / 303.5 MB, free: 17.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1459, allocations: 4.75 kB / 303.5 MB, free: 17.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.809e-05/0.146, allocations: 64.83 kB / 303.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.146, allocations: 6.016 kB / 303.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.146, allocations: 0 / 303.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1461, allocations: 1.906 kB / 303.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.1461, allocations: 12.58 kB / 303.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.1461, allocations: 4.953 kB / 303.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.1462, allocations: 11.48 kB / 303.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1462, allocations: 7.562 kB / 303.7 MB, free: 17.79 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.706e-05/0.1462, allocations: 116.6 kB / 303.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.1463, allocations: 12.3 kB / 303.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.1463, allocations: 10.72 kB / 303.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1463, allocations: 1.969 kB / 303.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1463, allocations: 0 / 303.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1463, allocations: 1.812 kB / 303.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1465, allocations: 228.8 kB / 304 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1465, allocations: 0 / 304 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.1466, allocations: 12.41 kB / 304 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1466, allocations: 1.062 kB / 304 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1466, allocations: 6.547 kB / 304 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1466, allocations: 0 / 304 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1466, allocations: 8.344 kB / 304 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.1467, allocations: 164 kB / 304.2 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.1467, allocations: 12.11 kB / 304.2 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1468, allocations: 1.219 kB / 304.2 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.827e-05/0.1468, allocations: 11.81 kB / 304.2 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.1469, allocations: 20.31 kB / 304.2 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.1469, allocations: 1.641 kB / 304.2 MB, free: 17.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.1469, allocations: 27.08 kB / 304.3 MB, free: 17.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1469, allocations: 0 / 304.3 MB, free: 17.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001507/0.1471, allocations: 17.88 kB / 304.3 MB, free: 17.33 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 8.9e-05/0.1472, allocations: 75.33 kB / 304.4 MB, free: 17.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.1473, allocations: 40.39 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1473, allocations: 1.344 kB / 304.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.1473, allocations: 27.08 kB / 304.4 MB, free: 17.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.1475, allocations: 25.14 kB / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.1478, allocations: 207.9 kB / 304.7 MB, free: 17.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.873e-05/0.1479, allocations: 62.75 kB / 304.7 MB, free: 17.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.653e-05/0.1479, allocations: 8.75 kB / 304.7 MB, free: 17.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.148, allocations: 64.05 kB / 304.8 MB, free: 16.96 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.148, allocations: 4 kB / 304.8 MB, free: 16.96 MB / 282.7 MB Notification: Performance of Templates: time 0.003923/0.1519, allocations: 1.357 MB / 306.2 MB, free: 16.86 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 -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: 3.0005360799841583]