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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 186 kB / 21.49 MB, free: 0.8242 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.673/1.673, allocations: 207.6 MB / 232.1 MB, free: 3.191 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.3377/0.3377, allocations: 44.24 MB / 328.4 MB, free: 6.277 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 72.52 kB / 465.5 MB, free: 45.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 61 MB / 0.5142 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002813/0.1287, allocations: 1.647 MB / 0.5158 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.1296, allocations: 0.6076 MB / 0.5164 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1297, allocations: 5.312 kB / 0.5164 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.1299, allocations: 7.875 kB / 0.5164 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.1299, allocations: 21.22 kB / 0.5164 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1303, allocations: 93.72 kB / 0.5165 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1305, allocations: 114.5 kB / 0.5166 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1306, allocations: 22.84 kB / 0.5166 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.1307, allocations: 49.62 kB / 0.5167 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.1307, allocations: 43.92 kB / 0.5167 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.1308, allocations: 12.31 kB / 0.5167 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.1308, allocations: 8.531 kB / 0.5167 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.1308, allocations: 22.11 kB / 0.5168 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.1309, allocations: 42.2 kB / 0.5168 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.131, allocations: 87.31 kB / 0.5169 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.131, allocations: 0 / 0.5169 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.131, allocations: 1.875 kB / 0.5169 GB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.131, allocations: 3.938 kB / 0.5169 GB, free: 10.36 MB / 382.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.0005918/0.1316, allocations: 415.3 kB / 0.5173 GB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1317, allocations: 21.84 kB / 0.5173 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.1317, allocations: 11.17 kB / 0.5173 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1319, allocations: 204.6 kB / 0.5175 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.132, allocations: 3.875 kB / 0.5175 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.132, allocations: 12.64 kB / 0.5175 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.1322, allocations: 108.4 kB / 0.5176 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1323, allocations: 7.938 kB / 0.5176 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1323, allocations: 0 / 0.5176 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1323, allocations: 0 / 0.5176 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1324, allocations: 51.97 kB / 0.5177 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.133, allocations: 392.5 kB / 0.5181 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.1333, allocations: 98.52 kB / 0.5182 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.608e-05/0.1334, allocations: 28.92 kB / 0.5182 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.1334, allocations: 0 / 0.5182 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1336, allocations: 111.3 kB / 0.5183 GB, free: 8.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1336, allocations: 4 kB / 0.5183 GB, free: 8.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004091/0.134, allocations: 133.5 kB / 0.5184 GB, free: 8.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.134, allocations: 59.33 kB / 0.5185 GB, free: 8.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.1341, allocations: 153.8 kB / 0.5186 GB, free: 8.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1342, allocations: 29.7 kB / 0.5187 GB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.1342, allocations: 96.12 kB / 0.5188 GB, free: 8.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.1342, allocations: 23.84 kB / 0.5188 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1343, allocations: 29.7 kB / 0.5188 GB, free: 8.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.1343, allocations: 318.8 kB / 0.5191 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1344, allocations: 35.98 kB / 0.5191 GB, free: 7.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.1345, allocations: 57.62 kB / 0.5192 GB, free: 7.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1347, allocations: 73.8 kB / 0.5193 GB, free: 7.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1347, allocations: 4 kB / 0.5193 GB, free: 7.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002342/0.1349, allocations: 117.5 kB / 0.5194 GB, free: 7.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1349, allocations: 11.94 kB / 0.5194 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.135, allocations: 0 / 0.5194 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.135, allocations: 3.984 kB / 0.5194 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1351, allocations: 27.89 kB / 0.5194 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1351, allocations: 0 / 0.5194 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/0.1352, allocations: 28.02 kB / 0.5195 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1352, allocations: 0 / 0.5195 GB, free: 7.617 MB / 382.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,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 6.55e-05/0.1352, allocations: 117.8 kB / 0.5196 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.1352, allocations: 15.88 kB / 0.5196 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.1353, allocations: 12.72 kB / 0.5196 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1353, allocations: 8 kB / 0.5196 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1353, allocations: 0 / 0.5196 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1353, allocations: 0 / 0.5196 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.1357, allocations: 390.4 kB / 0.52 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1357, allocations: 0 / 0.52 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.1358, allocations: 12 kB / 0.52 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1358, allocations: 0 / 0.52 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1358, allocations: 7.984 kB / 0.52 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1358, allocations: 0 / 0.52 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1358, allocations: 0 / 0.52 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.1362, allocations: 255.2 kB / 0.5202 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.1362, allocations: 85.09 kB / 0.5203 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1362, allocations: 4 kB / 0.5203 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.1364, allocations: 19.97 kB / 0.5203 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.1364, allocations: 11.98 kB / 0.5204 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1364, allocations: 4 kB / 0.5204 GB, free: 6.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.482e-05/0.1365, allocations: 116.2 kB / 0.5205 GB, free: 6.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1365, allocations: 3.938 kB / 0.5205 GB, free: 6.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.1367, allocations: 16 kB / 0.5205 GB, free: 6.457 MB / 382.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,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.447e-05/0.1368, allocations: 99.19 kB / 0.5206 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.1371, allocations: 83.83 kB / 0.5207 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1371, allocations: 0 / 0.5207 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.1372, allocations: 43.97 kB / 0.5207 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1375, allocations: 15.98 kB / 0.5207 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.138, allocations: 238.8 kB / 0.5209 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.1382, allocations: 0.7001 MB / 0.5216 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.286e-05/0.1382, allocations: 8.547 kB / 0.5216 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.1383, allocations: 11.44 kB / 0.5216 GB, free: 5.203 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1383, allocations: 0 / 0.5216 GB, free: 5.203 MB / 382.1 MB Notification: Performance of Templates: time 0.004183/0.1425, allocations: 1.29 MB / 0.5229 GB, free: 3.922 MB / 382.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/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.205947740934789]