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.001071/0.001071, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002549, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001092/0.001092, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002457, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8706/0.8706, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1457/1.016, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.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.1187/0.1187, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01809/0.1368, allocations: 12.3 MB / 265.9 MB, free: 7.836 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.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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.446e-05, allocations: 6.25 kB / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.00195/0.001974, allocations: 1.678 MB / 268.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005805/0.002554, allocations: 0.5229 MB / 269.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.002613, allocations: 4 kB / 269.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.187e-05/0.002665, allocations: 11.88 kB / 269.4 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.317e-05/0.002698, allocations: 11.86 kB / 269.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.002815, allocations: 39.83 kB / 269.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.96e-05/0.002914, allocations: 79.72 kB / 269.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.002997, allocations: 20.22 kB / 269.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.003071, allocations: 67.77 kB / 269.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.003124, allocations: 19.91 kB / 269.7 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.003141, allocations: 8 kB / 269.7 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-06/0.003151, allocations: 8 kB / 269.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.003167, allocations: 11.94 kB / 269.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.003193, allocations: 19.94 kB / 269.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.913e-05/0.003282, allocations: 47.81 kB / 269.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.003293, allocations: 0 / 269.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003293, allocations: 0 / 269.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.003302, allocations: 0 / 269.8 MB, free: 3.969 MB / 266.7 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.0003128/0.003615, allocations: 312.2 kB / 270.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.003642, allocations: 12.03 kB / 270.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.003669, allocations: 16.92 kB / 270.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.003776, allocations: 121.7 kB / 270.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003789, allocations: 12.31 kB / 270.2 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.003802, allocations: 8.359 kB / 270.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.268e-05/0.003874, allocations: 74.88 kB / 270.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-06/0.003879, allocations: 192 / 270.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.003886, allocations: 4.375 kB / 270.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.003889, allocations: 7.938 kB / 270.3 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.003919, allocations: 15.98 kB / 270.3 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.004135, allocations: 220 kB / 270.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.004176, allocations: 30.58 kB / 270.6 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.258e-05/0.004189, allocations: 12.84 kB / 270.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-06/0.004194, allocations: 0 / 270.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.004516, allocations: 67.36 kB / 270.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 6.81e-07/0.004516, allocations: 7.938 kB / 270.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 7.887e-05/0.004595, allocations: 53.67 kB / 270.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.004622, allocations: 59.41 kB / 270.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.762e-05/0.004669, allocations: 118.7 kB / 270.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.004681, allocations: 33.7 kB / 270.9 MB, free: 2.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.004715, allocations: 100.2 kB / 271 MB, free: 2.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.004731, allocations: 23.97 kB / 271 MB, free: 2.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.004761, allocations: 29.7 kB / 271.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.004822, allocations: 322.8 kB / 271.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.004833, allocations: 8 kB / 271.4 MB, free: 2.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.004856, allocations: 38.47 kB / 271.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.00489, allocations: 38.56 kB / 271.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.004891, allocations: 0 / 271.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.175e-05/0.004953, allocations: 65.61 kB / 271.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.004965, allocations: 7.984 kB / 271.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004969, allocations: 3.938 kB / 271.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/0.004975, allocations: 4 kB / 271.5 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.005018, allocations: 8 kB / 271.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.00502, allocations: 3.938 kB / 271.6 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.005045, allocations: 7.953 kB / 271.6 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.005051, allocations: 12.06 kB / 271.6 MB, free: 1.969 MB / 266.7 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,fallingEdge.not_u,$PRE.fallingEdge.not_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.427e-05/0.005105, allocations: 121.8 kB / 271.7 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.005113, allocations: 4 kB / 271.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.005133, allocations: 8.438 kB / 271.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.005135, allocations: 4 kB / 271.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.005137, allocations: 0 / 271.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.00514, allocations: 3.984 kB / 271.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.005291, allocations: 214.7 kB / 271.9 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.005293, allocations: 4 kB / 271.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.005322, allocations: 7.984 kB / 271.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.005329, allocations: 7.953 kB / 271.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.005331, allocations: 0 / 271.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.005337, allocations: 4 kB / 271.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005338, allocations: 0 / 271.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.00534, allocations: 3.938 kB / 271.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.148e-05/0.005431, allocations: 159.5 kB / 272.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.005441, allocations: 7.984 kB / 272.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.382e-05/0.005475, allocations: 4 kB / 272.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.005501, allocations: 7.984 kB / 272.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.005505, allocations: 0 / 272.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.061e-05/0.005525, allocations: 21.28 kB / 272.1 MB, free: 1.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005526, allocations: 4.031 kB / 272.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001247/0.00565, allocations: 19.94 kB / 272.2 MB, free: 1.324 MB / 266.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,fallingEdge.not_u) * 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 6.276e-05/0.005713, allocations: 80.62 kB / 272.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.005776, allocations: 37.31 kB / 272.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.00578, allocations: 4 kB / 272.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.005809, allocations: 28.94 kB / 272.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.005951, allocations: 24.12 kB / 272.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.006392, allocations: 211.5 kB / 272.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.967e-05/0.006422, allocations: 59.34 kB / 272.6 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.343e-05/0.006445, allocations: 11.98 kB / 272.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.006493, allocations: 59.38 kB / 272.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006493, allocations: 0 / 272.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of Templates: time 0.00234/0.008833, allocations: 1.005 MB / 273.7 MB, free: 15.75 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.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: 2.4487029928714037]