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.001024/0.001024, allocations: 95.2 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.001548/0.001548, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.8562/0.8562, 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.123/0.123, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.874e-06/1.874e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.95e-05, allocations: 8.281 kB / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002618/0.002648, allocations: 1.654 MB / 349.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.003479, allocations: 0.5074 MB / 349.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.003571, allocations: 7.938 kB / 349.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.003703, allocations: 7.922 kB / 349.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.275e-05/0.003756, allocations: 11.81 kB / 349.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.003965, allocations: 43.83 kB / 349.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.004103, allocations: 83.7 kB / 350 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.004222, allocations: 24.11 kB / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.004299, allocations: 43.91 kB / 350 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.004367, allocations: 27.89 kB / 350.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.004389, allocations: 8 kB / 350.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.004404, allocations: 8 kB / 350.1 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.004427, allocations: 7.938 kB / 350.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.004468, allocations: 31.91 kB / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004607, allocations: 47.81 kB / 350.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004609, allocations: 0 / 350.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.004611, allocations: 0 / 350.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.004615, allocations: 4 kB / 350.2 MB, free: 6.941 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.0004709/0.005086, allocations: 431.9 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.005129, allocations: 16.03 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.005181, allocations: 16.89 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.00535, allocations: 140.5 kB / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.00538, allocations: 8.375 kB / 350.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.005411, allocations: 4.375 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.005547, allocations: 81.12 kB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.005556, allocations: 192 / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.005569, allocations: 4.375 kB / 350.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.005578, allocations: 3.938 kB / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.178e-05/0.00564, allocations: 19.98 kB / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.006093, allocations: 335.5 kB / 351.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/0.006189, allocations: 50.98 kB / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.006216, allocations: 15.72 kB / 351.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.006225, allocations: 0 / 351.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.006335, allocations: 73.03 kB / 351.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.006337, allocations: 0 / 351.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002025/0.006539, allocations: 77.61 kB / 351.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.00657, allocations: 55.41 kB / 351.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.006649, allocations: 177.9 kB / 351.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.006661, allocations: 33.7 kB / 351.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.006705, allocations: 151 kB / 351.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.006729, allocations: 19.98 kB / 351.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.00677, allocations: 27.38 kB / 351.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.006819, allocations: 0.4922 MB / 352.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.00685, allocations: 15.92 kB / 352.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/0.006891, allocations: 35.06 kB / 352.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/0.006953, allocations: 51.05 kB / 352.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.006955, allocations: 0 / 352.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001228/0.007078, allocations: 97.78 kB / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.007093, allocations: 8 kB / 352.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.007098, allocations: 0 / 352.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.007116, allocations: 0 / 352.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.0072, allocations: 8 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.007208, allocations: 0 / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.00726, allocations: 11.98 kB / 352.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.007268, allocations: 7.938 kB / 352.6 MB, free: 4.277 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.612e-05/0.007334, allocations: 160.6 kB / 352.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.007351, allocations: 15.95 kB / 352.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.007385, allocations: 8.438 kB / 352.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.007389, allocations: 4 kB / 352.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.007393, allocations: 0 / 352.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.007398, allocations: 3.984 kB / 352.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.007676, allocations: 341.3 kB / 353.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.007679, allocations: 0 / 353.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.007725, allocations: 4 kB / 353.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.007728, allocations: 0 / 353.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.007738, allocations: 7.938 kB / 353.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.00774, allocations: 0 / 353.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.007742, allocations: 7.938 kB / 353.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.007897, allocations: 223.9 kB / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.007908, allocations: 11.89 kB / 353.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.007923, allocations: 0 / 353.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.007988, allocations: 7.984 kB / 353.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.008032, allocations: 15.92 kB / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.008038, allocations: 0 / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.241e-05/0.008071, allocations: 139.2 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008071, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.008321, allocations: 12 kB / 353.5 MB, free: 3.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.464e-05/0.008396, allocations: 99.22 kB / 353.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.00851, allocations: 39.67 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.008512, allocations: 4 kB / 353.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.008552, allocations: 27.61 kB / 353.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.008872, allocations: 16.75 kB / 353.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.009307, allocations: 209.2 kB / 353.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.009343, allocations: 60.05 kB / 354 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.009375, allocations: 12.11 kB / 354 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.00941, allocations: 16.5 kB / 354 MB, free: 2.727 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.009411, allocations: 0 / 354 MB, free: 2.727 MB / 282.7 MB Notification: Performance of Templates: time 0.002967/0.01238, allocations: 0.9456 MB / 355 MB, free: 1.797 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.0624176901765168]