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.001862/0.001862, allocations: 96.2 kB / 20.21 MB, free: 4.199 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.001896/0.001896, allocations: 157.3 kB / 23.51 MB, free: 0.8984 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.47/1.47, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 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.2251/0.2251, allocations: 32.37 MB / 270 MB, free: 14.79 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.914e-06/1.914e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.263e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002458/0.00249, allocations: 1.592 MB / 348.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000774/0.003264, allocations: 0.4957 MB / 349 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.159e-05/0.003346, allocations: 3.938 kB / 349 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.003495, allocations: 11.86 kB / 349 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.00355, allocations: 15.88 kB / 349 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.003757, allocations: 39.83 kB / 349.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.003893, allocations: 79.7 kB / 349.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.004022, allocations: 32.11 kB / 349.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.004095, allocations: 39.91 kB / 349.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.004159, allocations: 31.89 kB / 349.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.00418, allocations: 4 kB / 349.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.004192, allocations: 8 kB / 349.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.004214, allocations: 19.92 kB / 349.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.004254, allocations: 23.97 kB / 349.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.004394, allocations: 71.72 kB / 349.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004397, allocations: 3.938 kB / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004397, allocations: 0 / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004402, allocations: 0 / 349.4 MB, free: 7.332 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.0005066/0.004908, allocations: 330.8 kB / 349.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.004943, allocations: 8.031 kB / 349.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.005002, allocations: 20.89 kB / 349.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.005207, allocations: 137.6 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.005223, allocations: 4.375 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.005252, allocations: 8.375 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.005407, allocations: 83.14 kB / 350 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005416, allocations: 4.188 kB / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.00543, allocations: 384 / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005437, allocations: 3.938 kB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.538e-05/0.005512, allocations: 43.97 kB / 350 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.005967, allocations: 276.2 kB / 350.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.006067, allocations: 46.56 kB / 350.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.006094, allocations: 12.89 kB / 350.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.006107, allocations: 4 kB / 350.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.006214, allocations: 71.36 kB / 350.4 MB, free: 6.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.006215, allocations: 0 / 350.4 MB, free: 6.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002046/0.006419, allocations: 89.56 kB / 350.5 MB, free: 6.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.006447, allocations: 59.41 kB / 350.6 MB, free: 6.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.006519, allocations: 125.8 kB / 350.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.006531, allocations: 25.7 kB / 350.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.006568, allocations: 104.3 kB / 350.8 MB, free: 5.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.006588, allocations: 19.98 kB / 350.8 MB, free: 5.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.006622, allocations: 25.7 kB / 350.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.006671, allocations: 322.8 kB / 351.2 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-05/0.006705, allocations: 19.94 kB / 351.2 MB, free: 5.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.006743, allocations: 38.56 kB / 351.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.847e-05/0.006802, allocations: 54.5 kB / 351.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006804, allocations: 0 / 351.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001057/0.006909, allocations: 89.89 kB / 351.4 MB, free: 5.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.006922, allocations: 4 kB / 351.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006927, allocations: 4.078 kB / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.006945, allocations: 3.984 kB / 351.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.007006, allocations: 8 kB / 351.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.007012, allocations: 3.984 kB / 351.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.896e-05/0.007071, allocations: 4 kB / 351.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.007078, allocations: 12 kB / 351.4 MB, free: 5.113 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.909e-05/0.007147, allocations: 125.8 kB / 351.5 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.007163, allocations: 7.953 kB / 351.5 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.007191, allocations: 12.44 kB / 351.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.007193, allocations: 0 / 351.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.007196, allocations: 0 / 351.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007199, allocations: 0 / 351.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.007408, allocations: 286.1 kB / 351.8 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.00741, allocations: 0 / 351.8 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.007455, allocations: 11.92 kB / 351.8 MB, free: 4.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.007457, allocations: 4 kB / 351.9 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.007466, allocations: 4 kB / 351.9 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007468, allocations: 0 / 351.9 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.007469, allocations: 7.875 kB / 351.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.007631, allocations: 187.5 kB / 352 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.007643, allocations: 8.031 kB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.00766, allocations: 4 kB / 352.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.007747, allocations: 7.984 kB / 352.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.007795, allocations: 11.92 kB / 352.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.007802, allocations: 7.984 kB / 352.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.349e-05/0.007835, allocations: 95.27 kB / 352.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007835, allocations: 4.062 kB / 352.2 MB, free: 4.285 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.008074, allocations: 19.89 kB / 352.2 MB, free: 4.266 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 7.392e-05/0.008148, allocations: 99.19 kB / 352.3 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.008261, allocations: 35.98 kB / 352.3 MB, free: 4.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.008263, allocations: 4 kB / 352.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.008306, allocations: 27.91 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.008616, allocations: 12 kB / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.009097, allocations: 219.7 kB / 352.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.879e-05/0.009146, allocations: 75.33 kB / 352.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.009177, allocations: 4 kB / 352.7 MB, free: 3.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.00921, allocations: 16.48 kB / 352.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.009211, allocations: 0 / 352.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of Templates: time 0.003914/0.01312, allocations: 0.9512 MB / 353.6 MB, free: 2.793 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins/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: 4.795290365000255]