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.001877/0.001877, allocations: 83.73 kB / 20.52 MB, free: 1.121 MB / 14.72 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.002204/0.002204, allocations: 163.5 kB / 23.76 MB, free: 4.199 MB / 14.72 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 1.464/1.464, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] 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.2158/0.2158, allocations: 32.39 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 67.91 kB / 407.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1239, allocations: 61.04 MB / 468.8 MB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00315/0.1271, allocations: 1.604 MB / 470.4 MB, free: 6.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1281, allocations: 0.5773 MB / 471 MB, free: 6.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.1282, allocations: 4 kB / 471 MB, free: 6.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.1283, allocations: 7.875 kB / 471 MB, free: 6.105 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.1284, allocations: 19.86 kB / 471 MB, free: 6.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1287, allocations: 91.73 kB / 471.1 MB, free: 5.996 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1289, allocations: 123.7 kB / 471.2 MB, free: 5.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.129, allocations: 19.98 kB / 471.2 MB, free: 5.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.1291, allocations: 39.86 kB / 471.3 MB, free: 5.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.1292, allocations: 39.77 kB / 471.3 MB, free: 5.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1292, allocations: 12 kB / 471.3 MB, free: 5.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.1292, allocations: 8 kB / 471.3 MB, free: 5.758 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.1293, allocations: 19.97 kB / 471.3 MB, free: 5.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1293, allocations: 35.8 kB / 471.4 MB, free: 5.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.1295, allocations: 91.58 kB / 471.5 MB, free: 5.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1295, allocations: 0 / 471.5 MB, free: 5.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1295, allocations: 0 / 471.5 MB, free: 5.613 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1295, allocations: 0 / 471.5 MB, free: 5.613 MB / 446.1 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.0006916/0.1302, allocations: 350.8 kB / 471.8 MB, free: 5.238 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1302, allocations: 8.031 kB / 471.8 MB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.1303, allocations: 16.84 kB / 471.8 MB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1306, allocations: 146.3 kB / 472 MB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1306, allocations: 8.375 kB / 472 MB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1306, allocations: 16.31 kB / 472 MB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.1309, allocations: 102 kB / 472.1 MB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1309, allocations: 4 kB / 472.1 MB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1309, allocations: 4 kB / 472.1 MB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.131, allocations: 0 / 472.1 MB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1311, allocations: 47.97 kB / 472.2 MB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.1318, allocations: 316.2 kB / 472.5 MB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.1321, allocations: 94.52 kB / 472.6 MB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1322, allocations: 40.86 kB / 472.6 MB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.1322, allocations: 0 / 472.6 MB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.1325, allocations: 107.3 kB / 472.7 MB, free: 4.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1325, allocations: 0 / 472.7 MB, free: 4.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000463/0.1329, allocations: 137.6 kB / 472.8 MB, free: 4.121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.133, allocations: 59.33 kB / 472.9 MB, free: 4.051 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1331, allocations: 138 kB / 473 MB, free: 3.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1331, allocations: 29.7 kB / 473.1 MB, free: 3.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.1332, allocations: 108.2 kB / 473.2 MB, free: 3.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1332, allocations: 19.97 kB / 473.2 MB, free: 3.742 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.1333, allocations: 25.72 kB / 473.2 MB, free: 3.711 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1334, allocations: 322.8 kB / 473.5 MB, free: 3.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1336, allocations: 35.97 kB / 473.6 MB, free: 3.352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.1337, allocations: 49.69 kB / 473.6 MB, free: 3.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.1339, allocations: 77.62 kB / 473.7 MB, free: 3.215 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1339, allocations: 0 / 473.7 MB, free: 3.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003096/0.1342, allocations: 117.5 kB / 473.8 MB, free: 3.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1343, allocations: 11.98 kB / 473.8 MB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1343, allocations: 0 / 473.8 MB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1343, allocations: 0 / 473.8 MB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1344, allocations: 16.03 kB / 473.8 MB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.1344, allocations: 7.922 kB / 473.8 MB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.1345, allocations: 23.94 kB / 473.9 MB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1345, allocations: 0 / 473.9 MB, free: 3.035 MB / 446.1 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,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$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 0.0001121/0.1346, allocations: 117.8 kB / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1346, allocations: 11.89 kB / 474 MB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.1347, allocations: 16.78 kB / 474 MB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1347, allocations: 0 / 474 MB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1347, allocations: 8.219 kB / 474 MB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1347, allocations: 3.984 kB / 474 MB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.1352, allocations: 314.2 kB / 474.3 MB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1352, allocations: 7.922 kB / 474.3 MB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.1353, allocations: 15.92 kB / 474.3 MB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1353, allocations: 0 / 474.3 MB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1353, allocations: 11.94 kB / 474.4 MB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1353, allocations: 0 / 474.4 MB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1353, allocations: 0 / 474.4 MB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.1358, allocations: 247.4 kB / 474.6 MB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.1358, allocations: 11.95 kB / 474.6 MB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1359, allocations: 11.97 kB / 474.6 MB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.136, allocations: 15.98 kB / 474.6 MB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.136, allocations: 15.97 kB / 474.6 MB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1361, allocations: 0 / 474.6 MB, free: 2.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.643e-05/0.1361, allocations: 103.3 kB / 474.7 MB, free: 2.078 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1361, allocations: 0 / 474.7 MB, free: 2.078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1364, allocations: 19.95 kB / 474.8 MB, free: 2.059 MB / 446.1 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,change.u,booleanPulse.pulseStart) * 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 0.00011/0.1365, allocations: 103.2 kB / 474.9 MB, free: 1.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.1368, allocations: 75.95 kB / 474.9 MB, free: 1.875 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1368, allocations: 0 / 474.9 MB, free: 1.875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1369, allocations: 43.91 kB / 475 MB, free: 1.832 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1373, allocations: 23.98 kB / 475 MB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.1378, allocations: 227 kB / 475.2 MB, free: 1.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.769e-05/0.1379, allocations: 85.44 kB / 475.3 MB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.377e-05/0.1379, allocations: 8.734 kB / 475.3 MB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.138, allocations: 16.48 kB / 475.3 MB, free: 1.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.138, allocations: 0 / 475.3 MB, free: 1.43 MB / 446.1 MB Notification: Performance of Templates: time 0.004158/0.1421, allocations: 1.266 MB / 476.6 MB, free: 180 kB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.114219294977374]