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.001132/0.001132, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001056/0.001056, allocations: 173 kB / 24.14 MB, free: 356 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.9302/0.9302, allocations: 158.6 MB / 186 MB, free: 2.758 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.1621/0.1621, 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.162e-06/1.162e-06, allocations: 0 / 299 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.379e-05, allocations: 2.312 kB / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001322/0.001336, allocations: 0.8323 MB / 299.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001896/0.001525, allocations: 59.75 kB / 299.9 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.001585, allocations: 0 / 299.9 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.001686, allocations: 3.938 kB / 299.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.119e-05/0.001707, allocations: 7.875 kB / 300 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.126e-05/0.001798, allocations: 11.98 kB / 300 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.4e-05/0.001882, allocations: 47.89 kB / 300 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.001953, allocations: 8 kB / 300 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.798e-05/0.001991, allocations: 23.92 kB / 300 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.649e-05/0.002027, allocations: 11.97 kB / 300.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.002043, allocations: 0 / 300.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.002051, allocations: 4 kB / 300.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.002069, allocations: 11.94 kB / 300.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.002086, allocations: 11.98 kB / 300.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.427e-05/0.00217, allocations: 27.84 kB / 300.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.002173, allocations: 4 kB / 300.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002174, allocations: 0 / 300.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.002177, allocations: 0 / 300.1 MB, free: 1.156 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.0002845/0.002461, allocations: 252.8 kB / 300.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.002493, allocations: 12.03 kB / 300.4 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.002518, allocations: 4.938 kB / 300.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.002645, allocations: 121.7 kB / 300.5 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.002654, allocations: 4.375 kB / 300.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.002672, allocations: 4.375 kB / 300.5 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.803e-05/0.00274, allocations: 50.22 kB / 300.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.002746, allocations: 192 / 300.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.002753, allocations: 384 / 300.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.002759, allocations: 4.359 kB / 300.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.002781, allocations: 23.86 kB / 300.6 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.00306, allocations: 172.3 kB / 300.7 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.003095, allocations: 18.58 kB / 300.8 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.648e-06/0.003104, allocations: 16.86 kB / 300.8 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-06/0.00311, allocations: 0 / 300.8 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.003165, allocations: 51.34 kB / 300.8 MB, free: 348 kB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.003166, allocations: 0 / 300.8 MB, free: 348 kB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 7.964e-05/0.003245, allocations: 37.69 kB / 300.9 MB, free: 304 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.003271, allocations: 59.28 kB / 300.9 MB, free: 232 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.829e-05/0.00333, allocations: 118.6 kB / 301 MB, free: 100 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.003338, allocations: 29.7 kB / 301.1 MB, free: 64 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1391/0.1425, allocations: 88.31 kB / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1425, allocations: 5.609 kB / 301.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.1425, allocations: 15.27 kB / 301.2 MB, free: 19.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.156e-05/0.1425, allocations: 317.4 kB / 301.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.1426, allocations: 6.156 kB / 301.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.1426, allocations: 15.92 kB / 301.5 MB, free: 19.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.1426, allocations: 22.91 kB / 301.5 MB, free: 19.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1426, allocations: 0 / 301.5 MB, free: 19.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.382e-05/0.1427, allocations: 50.39 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1427, allocations: 4.719 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1427, allocations: 1.219 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1427, allocations: 4.375 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.112e-05/0.1427, allocations: 3.781 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.1427, allocations: 0.75 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.1428, allocations: 5.328 kB / 301.6 MB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.1428, allocations: 3.594 kB / 301.6 MB, free: 19.42 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.508e-05/0.1428, allocations: 113.8 kB / 301.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.1428, allocations: 8.75 kB / 301.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.1429, allocations: 9.766 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1429, allocations: 0 / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1429, allocations: 5.5 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1429, allocations: 0.7969 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.143, allocations: 199 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.143, allocations: 1.156 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.1431, allocations: 1.609 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1431, allocations: 1.984 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1431, allocations: 0.7812 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1431, allocations: 5.188 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1431, allocations: 1.328 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.339e-05/0.1431, allocations: 142.9 kB / 302.1 MB, free: 18.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.1431, allocations: 5.859 kB / 302.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.1432, allocations: 2.516 kB / 302.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.1432, allocations: 5.594 kB / 302.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.1432, allocations: 10.88 kB / 302.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1432, allocations: 1.062 kB / 302.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.407e-05/0.1432, allocations: 13.22 kB / 302.1 MB, free: 18.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1432, allocations: 0 / 302.1 MB, free: 18.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001126/0.1433, allocations: 6.438 kB / 302.1 MB, free: 18.97 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.595e-05/0.1434, allocations: 77.31 kB / 302.2 MB, free: 18.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.058e-05/0.1435, allocations: 20.95 kB / 302.2 MB, free: 18.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1435, allocations: 1.469 kB / 302.2 MB, free: 18.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.137e-05/0.1435, allocations: 13.72 kB / 302.2 MB, free: 18.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1436, allocations: 12.3 kB / 302.3 MB, free: 18.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.1438, allocations: 133.5 kB / 302.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.3e-05/0.1438, allocations: 58.77 kB / 302.4 MB, free: 18.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.752e-05/0.1439, allocations: 3.781 kB / 302.4 MB, free: 18.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.1439, allocations: 53.09 kB / 302.5 MB, free: 18.65 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1439, allocations: 0 / 302.5 MB, free: 18.65 MB / 282.7 MB Notification: Performance of Templates: time 0.001973/0.1459, allocations: 0.585 MB / 303.1 MB, free: 18.62 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 -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.988753179088235]