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.001088/0.001088, allocations: 91.22 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001179/0.001179, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 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.004/1.004, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.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.1416/0.1416, allocations: 32.38 MB / 270.4 MB, free: 14.8 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 2.064e-06/2.064e-06, allocations: 0 / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.691e-05/3.897e-05, allocations: 12.16 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.003301/0.00334, allocations: 1.643 MB / 349.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.004321, allocations: 0.5112 MB / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.00443, allocations: 4 kB / 349.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.004582, allocations: 11.86 kB / 349.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.004643, allocations: 11.88 kB / 349.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.004893, allocations: 39.83 kB / 349.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.005056, allocations: 83.7 kB / 350 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.00519, allocations: 28.11 kB / 350 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.005273, allocations: 39.91 kB / 350 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.005346, allocations: 27.89 kB / 350.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.005375, allocations: 8 kB / 350.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.005393, allocations: 4 kB / 350.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.005421, allocations: 19.92 kB / 350.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.005464, allocations: 23.92 kB / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.005613, allocations: 55.75 kB / 350.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005616, allocations: 0 / 350.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005617, allocations: 0 / 350.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.005624, allocations: 0 / 350.2 MB, free: 6.938 MB / 282.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.0005258/0.00615, allocations: 436 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.006192, allocations: 8.031 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.006252, allocations: 12.89 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.006446, allocations: 136.5 kB / 350.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.006472, allocations: 12.31 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.006497, allocations: 12.38 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.006639, allocations: 73.19 kB / 350.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.006647, allocations: 192 / 350.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.006661, allocations: 4.375 kB / 350.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.00667, allocations: 3.938 kB / 350.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.006733, allocations: 31.97 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.007191, allocations: 335.4 kB / 351.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.007292, allocations: 47.08 kB / 351.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.007316, allocations: 11.69 kB / 351.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.007325, allocations: 3.938 kB / 351.3 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.829e-05/0.007423, allocations: 65.09 kB / 351.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.043e-06/0.007425, allocations: 0 / 351.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001979/0.007623, allocations: 81.61 kB / 351.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.007656, allocations: 51.41 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.007735, allocations: 189.8 kB / 351.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.007748, allocations: 29.7 kB / 351.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.007793, allocations: 151 kB / 351.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.007817, allocations: 15.98 kB / 351.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.007858, allocations: 35.36 kB / 351.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.71e-05/0.007915, allocations: 0.4922 MB / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.007945, allocations: 11.98 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.007986, allocations: 35.06 kB / 352.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.538e-05/0.008051, allocations: 50.98 kB / 352.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008054, allocations: 4 kB / 352.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001245/0.008178, allocations: 85.88 kB / 352.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.008193, allocations: 4 kB / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.008199, allocations: 80 / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.008221, allocations: 4 kB / 352.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.008307, allocations: 8 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.008314, allocations: 7.969 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.00836, allocations: 4 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.008369, allocations: 7.938 kB / 352.6 MB, free: 4.281 MB / 282.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,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 6.26e-05/0.008432, allocations: 164.6 kB / 352.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.00845, allocations: 15.94 kB / 352.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.008479, allocations: 8.438 kB / 352.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.008481, allocations: 0 / 352.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.008487, allocations: 3.984 kB / 352.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.008491, allocations: 7.938 kB / 352.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.00877, allocations: 337.3 kB / 353.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008772, allocations: 0 / 353.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.008827, allocations: 8 kB / 353.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.008831, allocations: 0 / 353.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.008845, allocations: 8 kB / 353.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.008848, allocations: 4 kB / 353.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.00885, allocations: 3.938 kB / 353.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.009032, allocations: 219.9 kB / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.009045, allocations: 11.89 kB / 353.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.009064, allocations: 0 / 353.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.009141, allocations: 11.98 kB / 353.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.009194, allocations: 7.922 kB / 353.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.009202, allocations: 7.938 kB / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.285e-05/0.009245, allocations: 135.2 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009245, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.009505, allocations: 16.03 kB / 353.5 MB, free: 3.262 MB / 282.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,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.562e-05/0.009601, allocations: 96.02 kB / 353.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.009739, allocations: 43.61 kB / 353.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.009741, allocations: 0 / 353.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.394e-05/0.009785, allocations: 23.67 kB / 353.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.01012, allocations: 23.92 kB / 353.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.01057, allocations: 209.4 kB / 353.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.01061, allocations: 68.05 kB / 354 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.933e-05/0.01065, allocations: 7.984 kB / 354 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.01068, allocations: 12.5 kB / 354 MB, free: 2.723 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01069, allocations: 0 / 354 MB, free: 2.723 MB / 282.7 MB Notification: Performance of Templates: time 0.003537/0.01422, allocations: 0.984 MB / 355 MB, free: 1.754 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 -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: 3.2648355490528047]