Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001768/0.001768, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001427/0.001427, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 46.96 MB / 361.6 MB, free: 4.02 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2754, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.003094/0.2785, allocations: 1.605 MB / 0.5634 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2795, allocations: 491.8 kB / 0.5639 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.2796, allocations: 3.938 kB / 0.5639 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.2797, allocations: 15.86 kB / 0.5639 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.2798, allocations: 15.86 kB / 0.5639 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.28, allocations: 31.91 kB / 0.5639 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.2801, allocations: 79.77 kB / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2802, allocations: 26.88 kB / 0.564 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.377e-05/0.2803, allocations: 35.86 kB / 0.5641 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.2803, allocations: 27.84 kB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2804, allocations: 8 kB / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.2804, allocations: 8 kB / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.2804, allocations: 11.94 kB / 0.5641 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.2805, allocations: 31.86 kB / 0.5641 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.2806, allocations: 79.3 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2806, allocations: 0 / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2806, allocations: 0 / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.2806, allocations: 0 / 0.5642 GB, free: 1.684 MB / 398.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.0005682/0.2812, allocations: 330.8 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2812, allocations: 12.03 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.2812, allocations: 12.89 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.2815, allocations: 142.3 kB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2815, allocations: 8.375 kB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.2815, allocations: 12.38 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.2817, allocations: 69.98 kB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2817, allocations: 0 / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2817, allocations: 8 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2817, allocations: 0 / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.2818, allocations: 39.95 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.2823, allocations: 276.3 kB / 0.5651 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.2825, allocations: 46.56 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.2825, allocations: 20.83 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.2825, allocations: 0 / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.2826, allocations: 67.44 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2826, allocations: 0 / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002163/0.2828, allocations: 81.64 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.2829, allocations: 59.39 kB / 0.5653 GB, free: 396 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.283, allocations: 129.7 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.283, allocations: 29.7 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.2831, allocations: 100.3 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2831, allocations: 23.98 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.2832, allocations: 33.64 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2834, allocations: 322.8 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.2834, allocations: 16 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.2835, allocations: 38.56 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.2836, allocations: 50.81 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2836, allocations: 3.938 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.2837, allocations: 85.58 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2837, allocations: 4.062 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2837, allocations: 4 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2837, allocations: 4 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.2838, allocations: 7.984 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2838, allocations: 3.938 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.2839, allocations: 15.95 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2839, allocations: 0 / 0.5662 GB, free: 15.47 MB / 414.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 0.0001002/0.284, allocations: 125.8 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.284, allocations: 3.953 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.284, allocations: 12.38 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.284, allocations: 4 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.284, allocations: 0 / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.284, allocations: 7.938 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2841, allocations: 4 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-05/0.2841, allocations: 7.984 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.2842, allocations: 7.984 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002445/0.2844, allocations: 156.9 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002687/0.2847, allocations: 274.7 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.832e-05/0.2847, allocations: 15.98 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.2848, allocations: 95.33 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Backend: time 1.91e-07/0.2848, allocations: 4 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.2851, allocations: 106.3 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006695/0.2858, allocations: 0.6414 MB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Templates: time 0.003711/0.2895, allocations: 1.047 MB / 0.5686 GB, free: 12.9 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.710829998999543]