Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator.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.001852/0.001852, allocations: 114 kB / 19.17 MB, free: 3.895 MB / 14.72 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.002503/0.002503, allocations: 208.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 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.718/1.718, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2302/0.2302, allocations: 46.88 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 89.28 kB / 0.4924 GB, free: 26.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 65.97 MB / 0.5568 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002957/0.1311, allocations: 1.638 MB / 0.5584 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1322, allocations: 0.5977 MB / 0.559 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.1323, allocations: 0 / 0.559 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1325, allocations: 11.86 kB / 0.559 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.1325, allocations: 19.8 kB / 0.559 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1329, allocations: 99.23 kB / 0.5591 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1331, allocations: 111.7 kB / 0.5592 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1332, allocations: 35.91 kB / 0.5592 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.1333, allocations: 39.91 kB / 0.5593 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.1334, allocations: 51.75 kB / 0.5593 GB, free: 6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1334, allocations: 8 kB / 0.5593 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.1334, allocations: 8 kB / 0.5593 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.1334, allocations: 15.92 kB / 0.5594 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.1335, allocations: 39.8 kB / 0.5594 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1337, allocations: 91.52 kB / 0.5595 GB, free: 5.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1337, allocations: 0 / 0.5595 GB, free: 5.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1337, allocations: 0 / 0.5595 GB, free: 5.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1337, allocations: 0 / 0.5595 GB, free: 5.84 MB / 414.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.0007532/0.1344, allocations: 423 kB / 0.5599 GB, free: 5.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1345, allocations: 12.03 kB / 0.5599 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.1345, allocations: 8.891 kB / 0.5599 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1349, allocations: 200.2 kB / 0.5601 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1349, allocations: 12.38 kB / 0.5601 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1349, allocations: 8.312 kB / 0.5601 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.1352, allocations: 103.5 kB / 0.5602 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1352, allocations: 0 / 0.5602 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1352, allocations: 8 kB / 0.5602 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1352, allocations: 0 / 0.5602 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.1354, allocations: 55.95 kB / 0.5603 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.1362, allocations: 384.5 kB / 0.5606 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.1365, allocations: 102.5 kB / 0.5607 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1367, allocations: 40.91 kB / 0.5608 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.1367, allocations: 0 / 0.5608 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.1369, allocations: 99.3 kB / 0.5609 GB, free: 4.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.1369, allocations: 0 / 0.5609 GB, free: 4.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004856/0.1374, allocations: 141.6 kB / 0.561 GB, free: 4.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.1375, allocations: 55.34 kB / 0.5611 GB, free: 4.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1376, allocations: 145.8 kB / 0.5612 GB, free: 3.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1376, allocations: 33.69 kB / 0.5612 GB, free: 3.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.671e-05/0.1377, allocations: 100.1 kB / 0.5613 GB, free: 3.746 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1378, allocations: 23.91 kB / 0.5614 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.1378, allocations: 33.66 kB / 0.5614 GB, free: 3.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.138, allocations: 322.8 kB / 0.5617 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1381, allocations: 35.97 kB / 0.5617 GB, free: 3.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1383, allocations: 53.62 kB / 0.5618 GB, free: 3.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.1385, allocations: 81.56 kB / 0.5619 GB, free: 3.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1385, allocations: 0 / 0.5619 GB, free: 3.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002982/0.1388, allocations: 121.6 kB / 0.562 GB, free: 3.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1388, allocations: 7.938 kB / 0.562 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1388, allocations: 0 / 0.562 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1388, allocations: 7.984 kB / 0.562 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1389, allocations: 12 kB / 0.562 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1389, allocations: 0 / 0.562 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.139, allocations: 11.98 kB / 0.562 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.139, allocations: 7.984 kB / 0.562 GB, free: 3.008 MB / 414.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 0.0001129/0.1391, allocations: 121.8 kB / 0.5621 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.1392, allocations: 15.84 kB / 0.5622 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.1392, allocations: 16.66 kB / 0.5622 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1392, allocations: 4 kB / 0.5622 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1392, allocations: 0 / 0.5622 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1392, allocations: 0 / 0.5622 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.1398, allocations: 402.4 kB / 0.5626 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1398, allocations: 0 / 0.5626 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.901e-05/0.1399, allocations: 15.98 kB / 0.5626 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1399, allocations: 0 / 0.5626 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1399, allocations: 4 kB / 0.5626 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1399, allocations: 4.328 kB / 0.5626 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1399, allocations: 288 / 0.5626 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.1404, allocations: 251.4 kB / 0.5628 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1404, allocations: 89.05 kB / 0.5629 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1405, allocations: 7.984 kB / 0.5629 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1406, allocations: 19.98 kB / 0.5629 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.1406, allocations: 11.98 kB / 0.5629 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1406, allocations: 4 kB / 0.5629 GB, free: 1.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.522e-05/0.1407, allocations: 114.6 kB / 0.5631 GB, free: 1.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1407, allocations: 0 / 0.5631 GB, free: 1.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.141, allocations: 16 kB / 0.5631 GB, free: 1.832 MB / 414.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 0.000114/0.1411, allocations: 107.1 kB / 0.5632 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.1414, allocations: 83.88 kB / 0.5633 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1414, allocations: 0 / 0.5633 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1415, allocations: 35.92 kB / 0.5633 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1419, allocations: 27.98 kB / 0.5633 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1429, allocations: 300.1 kB / 0.5636 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1432, allocations: 0.6924 MB / 0.5643 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.1433, allocations: 19.42 kB / 0.5643 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1433, allocations: 0 / 0.5643 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of Templates: time 0.003208/0.1465, allocations: 1.338 MB / 0.5656 GB, free: 15.17 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.686879255110398]