Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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.001405/0.001405, allocations: 75.77 kB / 20.51 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.00153/0.00153, allocations: 169.3 kB / 23.76 MB, free: 4.195 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.575/1.575, allocations: 158.6 MB / 185.5 MB, free: 6.145 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.2156/0.2156, allocations: 32.37 MB / 270.1 MB, free: 2.84 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.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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") [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.002529/0.002529, allocations: 67.91 kB / 407.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1235, allocations: 61.04 MB / 468.8 MB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.003306/0.1268, allocations: 1.596 MB / 470.4 MB, free: 6.727 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1278, allocations: 0.4995 MB / 470.9 MB, free: 6.219 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.1279, allocations: 3.938 kB / 470.9 MB, free: 6.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.128, allocations: 11.88 kB / 470.9 MB, free: 6.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.1281, allocations: 15.86 kB / 470.9 MB, free: 6.188 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.1283, allocations: 35.89 kB / 471 MB, free: 6.152 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1285, allocations: 79.78 kB / 471 MB, free: 6.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1286, allocations: 16.22 kB / 471 MB, free: 6.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.1287, allocations: 31.86 kB / 471.1 MB, free: 6.027 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.1287, allocations: 35.83 kB / 471.1 MB, free: 5.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1287, allocations: 11.94 kB / 471.1 MB, free: 5.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.1288, allocations: 4 kB / 471.1 MB, free: 5.977 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.1288, allocations: 19.92 kB / 471.2 MB, free: 5.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.1288, allocations: 27.86 kB / 471.2 MB, free: 5.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.129, allocations: 71.66 kB / 471.2 MB, free: 5.859 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.129, allocations: 0 / 471.2 MB, free: 5.859 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.129, allocations: 0 / 471.2 MB, free: 5.859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.129, allocations: 0 / 471.2 MB, free: 5.859 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006196/0.1296, allocations: 334.8 kB / 471.6 MB, free: 5.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1297, allocations: 12.03 kB / 471.6 MB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.1297, allocations: 8.891 kB / 471.6 MB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.13, allocations: 146.3 kB / 471.7 MB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.13, allocations: 4.375 kB / 471.7 MB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.13, allocations: 8.375 kB / 471.7 MB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1302, allocations: 77.92 kB / 471.8 MB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1302, allocations: 0 / 471.8 MB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1302, allocations: 4 kB / 471.8 MB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1302, allocations: 0 / 471.8 MB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.753e-05/0.1303, allocations: 43.92 kB / 471.9 MB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.1308, allocations: 272.3 kB / 472.1 MB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1309, allocations: 54.53 kB / 472.2 MB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.131, allocations: 12.86 kB / 472.2 MB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.131, allocations: 0 / 472.2 MB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.1311, allocations: 75.41 kB / 472.3 MB, free: 4.711 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1311, allocations: 0 / 472.3 MB, free: 4.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002129/0.1313, allocations: 85.56 kB / 472.4 MB, free: 4.621 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1314, allocations: 63.34 kB / 472.4 MB, free: 4.547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1315, allocations: 121.8 kB / 472.5 MB, free: 4.418 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1315, allocations: 29.7 kB / 472.6 MB, free: 4.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.1316, allocations: 104.3 kB / 472.7 MB, free: 4.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1316, allocations: 19.98 kB / 472.7 MB, free: 4.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.1317, allocations: 29.7 kB / 472.7 MB, free: 4.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1318, allocations: 322.8 kB / 473 MB, free: 3.898 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.1318, allocations: 15.98 kB / 473.1 MB, free: 3.883 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.1319, allocations: 34.58 kB / 473.1 MB, free: 3.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/0.132, allocations: 62.48 kB / 473.1 MB, free: 3.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.132, allocations: 0 / 473.1 MB, free: 3.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001481/0.1321, allocations: 81.58 kB / 473.2 MB, free: 3.684 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1322, allocations: 4 kB / 473.2 MB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1322, allocations: 0 / 473.2 MB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1322, allocations: 4 kB / 473.2 MB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.1322, allocations: 4 kB / 473.2 MB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1322, allocations: 11.88 kB / 473.3 MB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.1323, allocations: 11.98 kB / 473.3 MB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1323, allocations: 4 kB / 473.3 MB, free: 3.645 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,fallingEdge.not_u,$PRE.fallingEdge.not_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 9.371e-05/0.1324, allocations: 129.4 kB / 473.4 MB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.1324, allocations: 7.953 kB / 473.4 MB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.1325, allocations: 12.42 kB / 473.4 MB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1325, allocations: 0 / 473.4 MB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.1325, allocations: 7.938 kB / 473.4 MB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1325, allocations: 0 / 473.4 MB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.1328, allocations: 290.1 kB / 473.7 MB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1328, allocations: 0 / 473.7 MB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/0.1328, allocations: 4 kB / 473.7 MB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1329, allocations: 0 / 473.7 MB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1329, allocations: 11.94 kB / 473.7 MB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1329, allocations: 0 / 473.7 MB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1329, allocations: 0 / 473.7 MB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1331, allocations: 187.5 kB / 473.9 MB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.1331, allocations: 7.984 kB / 473.9 MB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1331, allocations: 3.938 kB / 473.9 MB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.1332, allocations: 11.98 kB / 473.9 MB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.1333, allocations: 11.98 kB / 473.9 MB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1333, allocations: 0 / 473.9 MB, free: 2.914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.608e-05/0.1333, allocations: 95.7 kB / 474 MB, free: 2.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1333, allocations: 64 / 474 MB, free: 2.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1336, allocations: 23.95 kB / 474.1 MB, free: 2.797 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,fallingEdge.not_u,booleanPulse.pulseStart) * Number of discrete states: 1 (fallingEdge.not_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 9.935e-05/0.1337, allocations: 95.52 kB / 474.1 MB, free: 2.695 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1338, allocations: 40.66 kB / 474.2 MB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.1338, allocations: 4 kB / 474.2 MB, free: 2.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.1339, allocations: 28.06 kB / 474.2 MB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1342, allocations: 16.14 kB / 474.2 MB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.1347, allocations: 231.1 kB / 474.5 MB, free: 2.359 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.075e-05/0.1348, allocations: 75.33 kB / 474.5 MB, free: 2.266 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.664e-05/0.1349, allocations: 11.92 kB / 474.5 MB, free: 2.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1349, allocations: 16.44 kB / 474.6 MB, free: 2.238 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1349, allocations: 0 / 474.6 MB, free: 2.238 MB / 446.1 MB Notification: Performance of Templates: time 0.003712/0.1386, allocations: 0.9153 MB / 475.5 MB, free: 1.328 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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.3274189149960876]