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.001508/0.001508, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001114/0.001114, allocations: 166.9 kB / 24.84 MB, free: 8.918 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.8487/0.8487, allocations: 158.6 MB / 186.7 MB, free: 2.781 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.1315/0.1315, allocations: 32.38 MB / 271.5 MB, free: 14.52 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.232e-06/1.232e-06, allocations: 0 / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.36e-05, allocations: 8.281 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001441/0.001454, allocations: 0.8351 MB / 349.7 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001694/0.001624, allocations: 39.89 kB / 349.8 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.001687, allocations: 3.938 kB / 349.8 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.001794, allocations: 11.94 kB / 349.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.068e-05/0.001814, allocations: 4 kB / 349.8 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.683e-05/0.001901, allocations: 23.89 kB / 349.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.001979, allocations: 39.86 kB / 349.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.604e-05/0.002055, allocations: 15.98 kB / 349.9 MB, free: 8.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.662e-05/0.002092, allocations: 15.92 kB / 349.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.268e-05/0.002124, allocations: 7.984 kB / 349.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.002138, allocations: 4 kB / 349.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.002147, allocations: 4 kB / 349.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.002164, allocations: 11.92 kB / 349.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.00218, allocations: 8 kB / 349.9 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.648e-05/0.002257, allocations: 39.83 kB / 350 MB, free: 8.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002258, allocations: 0 / 350 MB, free: 8.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002259, allocations: 0 / 350 MB, free: 8.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.002262, allocations: 0 / 350 MB, free: 8.117 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.0002424/0.002505, allocations: 380.2 kB / 350.3 MB, free: 7.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.002532, allocations: 8.031 kB / 350.3 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.002558, allocations: 12.89 kB / 350.4 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/0.002655, allocations: 136.4 kB / 350.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.002662, allocations: 384 / 350.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.002676, allocations: 8.375 kB / 350.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.954e-05/0.002736, allocations: 42.25 kB / 350.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.002743, allocations: 192 / 350.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.00275, allocations: 4.375 kB / 350.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.002756, allocations: 4.375 kB / 350.5 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.002773, allocations: 11.92 kB / 350.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.003032, allocations: 256.3 kB / 350.8 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.003068, allocations: 35.05 kB / 350.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-06/0.003078, allocations: 7.688 kB / 350.8 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-06/0.003082, allocations: 4 kB / 350.9 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.00313, allocations: 64.98 kB / 350.9 MB, free: 7.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.003131, allocations: 0 / 350.9 MB, free: 7.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 8.646e-05/0.003218, allocations: 45.69 kB / 351 MB, free: 6.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.003236, allocations: 51.41 kB / 351 MB, free: 6.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.4e-05/0.00328, allocations: 174 kB / 351.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.003286, allocations: 25.7 kB / 351.2 MB, free: 6.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.003312, allocations: 142.8 kB / 351.3 MB, free: 6.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.003324, allocations: 3.953 kB / 351.3 MB, free: 6.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.003349, allocations: 27.34 kB / 351.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.507e-05/0.003384, allocations: 492.1 kB / 351.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-06/0.003391, allocations: 8 kB / 351.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.433e-05/0.003405, allocations: 27.3 kB / 351.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.003431, allocations: 27.36 kB / 351.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.003433, allocations: 4 kB / 351.9 MB, free: 5.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.025e-05/0.003483, allocations: 61.52 kB / 352 MB, free: 5.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.003493, allocations: 4 kB / 352 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.003497, allocations: 0 / 352 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.003506, allocations: 4 kB / 352 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.129e-05/0.003527, allocations: 0 / 352 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.00353, allocations: 8.031 kB / 352 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.00355, allocations: 0 / 352 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-06/0.003553, allocations: 0 / 352 MB, free: 5.859 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.069e-05/0.003593, allocations: 160.5 kB / 352.2 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.003601, allocations: 7.938 kB / 352.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.609e-05/0.003618, allocations: 11.98 kB / 352.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.003619, allocations: 0 / 352.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.003621, allocations: 0 / 352.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.003623, allocations: 0 / 352.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.00376, allocations: 281.9 kB / 352.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.003761, allocations: 4 kB / 352.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.003776, allocations: 4 kB / 352.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.003777, allocations: 0 / 352.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.003785, allocations: 0 / 352.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.003785, allocations: 0 / 352.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.003786, allocations: 0 / 352.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.055e-05/0.003857, allocations: 204.2 kB / 352.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.003863, allocations: 4 kB / 352.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.003873, allocations: 7.984 kB / 352.7 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.003914, allocations: 0 / 352.7 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.003932, allocations: 3.984 kB / 352.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.003935, allocations: 8.031 kB / 352.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.746e-05/0.003952, allocations: 127.2 kB / 352.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003952, allocations: 3.938 kB / 352.8 MB, free: 4.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001982/0.00415, allocations: 4 kB / 352.8 MB, free: 4.98 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 4.996e-05/0.0042, allocations: 91.25 kB / 352.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.52e-05/0.004256, allocations: 23.61 kB / 352.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.004257, allocations: 0 / 352.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.004271, allocations: 15.69 kB / 352.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.004492, allocations: 19.91 kB / 353 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.004673, allocations: 146.2 kB / 353.1 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.169e-05/0.004695, allocations: 55.34 kB / 353.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.675e-05/0.004712, allocations: 7.906 kB / 353.2 MB, free: 4.562 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.004741, allocations: 74.19 kB / 353.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of SimCode: time 6.52e-07/0.004742, allocations: 0 / 353.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of Templates: time 0.001998/0.00674, allocations: 0.5847 MB / 353.8 MB, free: 3.918 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.821115870960057]