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.001257/0.001257, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001881/0.003139, allocations: 452 kB / 10.43 MB, free: 264 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.002719/0.002719, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003415/0.006135, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9043/0.9043, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1434/1.048, allocations: 49.52 MB / 220.7 MB, free: 1.352 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.1299/0.1299, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04174/0.1716, allocations: 12.3 MB / 266.1 MB, free: 3.879 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.212e-06/1.212e-06, allocations: 3.938 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.974e-05, allocations: 2.312 kB / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002264/0.002284, allocations: 1.69 MB / 269.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.002945, allocations: 0.5189 MB / 269.6 MB, free: 332 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.003019, allocations: 4 kB / 269.6 MB, free: 328 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.647e-05/0.003086, allocations: 15.81 kB / 269.6 MB, free: 312 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.003125, allocations: 7.922 kB / 269.6 MB, free: 304 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.003227, allocations: 43.77 kB / 269.7 MB, free: 260 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.003344, allocations: 75.78 kB / 269.7 MB, free: 184 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.003444, allocations: 20.22 kB / 269.8 MB, free: 164 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.117e-05/0.003535, allocations: 63.77 kB / 269.8 MB, free: 100 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.0036, allocations: 27.91 kB / 269.9 MB, free: 72 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.003622, allocations: 4 kB / 269.9 MB, free: 68 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.003634, allocations: 8 kB / 269.9 MB, free: 60 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.003656, allocations: 11.94 kB / 269.9 MB, free: 48 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.003683, allocations: 19.94 kB / 269.9 MB, free: 28 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.003814, allocations: 47.77 kB / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.003825, allocations: 0 / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003826, allocations: 0 / 269.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.003836, allocations: 4 kB / 269.9 MB, free: 15.98 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.0004036/0.00424, allocations: 308.2 kB / 270.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.004269, allocations: 12.03 kB / 270.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.004304, allocations: 16.92 kB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.004436, allocations: 121.7 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.004456, allocations: 12.31 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.004484, allocations: 16.34 kB / 270.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.026e-05/0.004575, allocations: 70.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.004581, allocations: 192 / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.004587, allocations: 384 / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.004592, allocations: 3.938 kB / 270.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.004626, allocations: 23.92 kB / 270.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.004904, allocations: 220 kB / 270.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.004964, allocations: 30.58 kB / 270.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.004978, allocations: 8.859 kB / 270.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.004988, allocations: 7.984 kB / 270.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.195e-05/0.00507, allocations: 67.36 kB / 270.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005071, allocations: 0 / 270.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001109/0.005182, allocations: 57.62 kB / 270.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.005221, allocations: 55.39 kB / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.005289, allocations: 130.7 kB / 271.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.005303, allocations: 29.7 kB / 271.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.00534, allocations: 104.2 kB / 271.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.005364, allocations: 23.97 kB / 271.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.005445, allocations: 25.7 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.005522, allocations: 322.8 kB / 271.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.005535, allocations: 8 kB / 271.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.005559, allocations: 26.56 kB / 271.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.005603, allocations: 42.48 kB / 271.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.005606, allocations: 4 kB / 271.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.182e-05/0.005678, allocations: 65.61 kB / 271.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.005689, allocations: 4 kB / 271.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.005694, allocations: 7.984 kB / 271.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.005704, allocations: 0 / 271.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.005756, allocations: 11.94 kB / 271.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.005761, allocations: 4 kB / 271.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.005794, allocations: 11.95 kB / 271.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.005798, allocations: 0 / 271.8 MB, free: 13.98 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,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 6.256e-05/0.00586, allocations: 125.8 kB / 271.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.005869, allocations: 4 kB / 271.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.005891, allocations: 8.438 kB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005892, allocations: 4 kB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.005894, allocations: 0 / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.005899, allocations: 3.984 kB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.006072, allocations: 218.7 kB / 272.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006073, allocations: 0 / 272.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.006104, allocations: 7.984 kB / 272.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.006112, allocations: 7.953 kB / 272.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.006113, allocations: 0 / 272.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.006119, allocations: 4 kB / 272.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.00612, allocations: 0 / 272.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006121, allocations: 0 / 272.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.006225, allocations: 167.4 kB / 272.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.006235, allocations: 0 / 272.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.006272, allocations: 11.98 kB / 272.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.006302, allocations: 11.91 kB / 272.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.006307, allocations: 4 kB / 272.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.174e-05/0.006328, allocations: 16.84 kB / 272.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006328, allocations: 0 / 272.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001226/0.006451, allocations: 23.97 kB / 272.4 MB, free: 13.33 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,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.44e-05/0.006515, allocations: 76.36 kB / 272.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.102e-05/0.006586, allocations: 45.31 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.00659, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.006625, allocations: 33 kB / 272.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.006802, allocations: 98.05 kB / 272.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.007294, allocations: 211.4 kB / 272.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.007331, allocations: 67.53 kB / 272.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.153e-05/0.007363, allocations: 7.984 kB / 272.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.007422, allocations: 59.38 kB / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.007422, allocations: 0 / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of Templates: time 0.002496/0.009918, allocations: 0.9879 MB / 273.9 MB, free: 11.68 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.641154022887349]