Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.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.001108/0.001108, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.00122/0.00122, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.9839/0.9839, allocations: 158.6 MB / 186 MB, free: 2.766 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.142/0.142, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.828e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001626/0.001644, allocations: 0.8871 MB / 300 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002009/0.001845, allocations: 51.75 kB / 300 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.001911, allocations: 4 kB / 300 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.002018, allocations: 3.938 kB / 300 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.557e-05/0.002043, allocations: 11.86 kB / 300.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.36e-05/0.002137, allocations: 15.98 kB / 300.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.411e-05/0.002221, allocations: 39.92 kB / 300.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.002308, allocations: 15.97 kB / 300.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.002354, allocations: 19.92 kB / 300.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.002397, allocations: 7.984 kB / 300.2 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.002414, allocations: 4 kB / 300.2 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.002423, allocations: 4 kB / 300.2 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.002447, allocations: 3.938 kB / 300.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.002472, allocations: 11.98 kB / 300.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.7e-05/0.002559, allocations: 31.84 kB / 300.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002561, allocations: 0 / 300.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.002562, allocations: 0 / 300.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.002565, allocations: 4 kB / 300.2 MB, free: 1.059 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002767/0.002842, allocations: 248.9 kB / 300.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.002874, allocations: 12.03 kB / 300.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.002897, allocations: 4.938 kB / 300.5 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.003022, allocations: 129.6 kB / 300.6 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.003031, allocations: 8.375 kB / 300.6 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.003044, allocations: 384 / 300.6 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.675e-05/0.003111, allocations: 46.23 kB / 300.7 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.003117, allocations: 4.188 kB / 300.7 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.003123, allocations: 4.375 kB / 300.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.003127, allocations: 384 / 300.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.919e-05/0.003147, allocations: 7.938 kB / 300.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.003416, allocations: 176.2 kB / 300.8 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.615e-05/0.003453, allocations: 22.56 kB / 300.9 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-06/0.003462, allocations: 8.859 kB / 300.9 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.003468, allocations: 4.062 kB / 300.9 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.003521, allocations: 51.28 kB / 300.9 MB, free: 256 kB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.003522, allocations: 0 / 300.9 MB, free: 256 kB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 8.607e-05/0.003608, allocations: 45.69 kB / 301 MB, free: 204 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.003633, allocations: 51.41 kB / 301 MB, free: 140 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.003967, allocations: 122.6 kB / 301.1 MB, free: 4 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1409/0.1449, allocations: 29.08 kB / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.1449, allocations: 81.98 kB / 301.2 MB, free: 19.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1449, allocations: 6.094 kB / 301.3 MB, free: 19.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.145, allocations: 19.75 kB / 301.3 MB, free: 19.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.145, allocations: 317.1 kB / 301.6 MB, free: 19.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.1451, allocations: 1.812 kB / 301.6 MB, free: 19.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.1451, allocations: 16.55 kB / 301.6 MB, free: 19.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.1451, allocations: 22.36 kB / 301.6 MB, free: 19.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1451, allocations: 0.5 kB / 301.6 MB, free: 19.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.537e-05/0.1452, allocations: 51.59 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1452, allocations: 6.734 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1453, allocations: 1.469 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1453, allocations: 0 / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.1453, allocations: 6.5 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.1453, allocations: 5.156 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.1454, allocations: 8 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1454, allocations: 2.812 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.84e-05/0.1454, allocations: 113.8 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.1454, allocations: 7.625 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.1455, allocations: 9.844 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1455, allocations: 0 / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1455, allocations: 5.219 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1455, allocations: 0.6562 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1457, allocations: 195.2 kB / 302 MB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1457, allocations: 1.594 kB / 302 MB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.1457, allocations: 3.062 kB / 302 MB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1457, allocations: 1.562 kB / 302 MB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1457, allocations: 3.891 kB / 302 MB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1457, allocations: 5.531 kB / 302 MB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1457, allocations: 2.203 kB / 302 MB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.342e-05/0.1458, allocations: 140.1 kB / 302.2 MB, free: 18.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.1458, allocations: 6.641 kB / 302.2 MB, free: 18.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.1458, allocations: 0.8906 kB / 302.2 MB, free: 18.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.1459, allocations: 6.688 kB / 302.2 MB, free: 18.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.1459, allocations: 10.78 kB / 302.2 MB, free: 18.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1459, allocations: 3.297 kB / 302.2 MB, free: 18.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.525e-05/0.1459, allocations: 12.97 kB / 302.2 MB, free: 18.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1459, allocations: 0.7812 kB / 302.2 MB, free: 18.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001175/0.146, allocations: 5.188 kB / 302.2 MB, free: 18.89 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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 6.743e-05/0.1461, allocations: 75.73 kB / 302.3 MB, free: 18.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.085e-05/0.1462, allocations: 19.83 kB / 302.3 MB, free: 18.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.1462, allocations: 0.8438 kB / 302.3 MB, free: 18.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.1462, allocations: 17.05 kB / 302.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.1464, allocations: 14.61 kB / 302.4 MB, free: 18.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.1466, allocations: 136.5 kB / 302.5 MB, free: 18.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.1467, allocations: 57.59 kB / 302.5 MB, free: 18.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.599e-05/0.1467, allocations: 2.812 kB / 302.5 MB, free: 18.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.1467, allocations: 61.58 kB / 302.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1467, allocations: 0 / 302.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of Templates: time 0.002411/0.1492, allocations: 0.5718 MB / 303.2 MB, free: 18.55 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.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: 2.9286610023118556]