Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.00103/0.00103, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001536/0.001536, allocations: 173.4 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2538/0.2538, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.387e-05, allocations: 3.188 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002107/0.002121, allocations: 1.705 MB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000737/0.002858, allocations: 0.549 MB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.002908, allocations: 0 / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.003175, allocations: 111.6 kB / 327.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.003414, allocations: 119.5 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.00364, allocations: 115.6 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.003783, allocations: 92.36 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.145e-05/0.003865, allocations: 15.98 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.003936, allocations: 43.89 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.004027, allocations: 63.86 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.004037, allocations: 0 / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.004114, allocations: 47.92 kB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.004156, allocations: 27.84 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.004179, allocations: 15.94 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.004319, allocations: 107.5 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.542e-06/0.00432, allocations: 0 / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004321, allocations: 4 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004325, allocations: 0 / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002975/0.004622, allocations: 321.5 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.004658, allocations: 8.031 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.004686, allocations: 8.938 kB / 328.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.004817, allocations: 150.3 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.004824, allocations: 4.375 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.004841, allocations: 4.359 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.004922, allocations: 62.94 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.004933, allocations: 8.172 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.00494, allocations: 4.125 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004945, allocations: 0 / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.004966, allocations: 7.984 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.005169, allocations: 179 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.793e-05/0.005217, allocations: 33.47 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.005232, allocations: 12.94 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.005246, allocations: 4 kB / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.005268, allocations: 34.5 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.005268, allocations: 4 kB / 329.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004051/0.005673, allocations: 145.9 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.0057, allocations: 55.34 kB / 329.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.00582, allocations: 205.6 kB / 329.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.005829, allocations: 25.7 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.005863, allocations: 96.11 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.005888, allocations: 31.72 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.005917, allocations: 21.72 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.005995, allocations: 330.8 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.006008, allocations: 4 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.006022, allocations: 7.984 kB / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.006055, allocations: 31.89 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006056, allocations: 0 / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.378e-05/0.00612, allocations: 69.53 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.006133, allocations: 6.344 kB / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006137, allocations: 4 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.006148, allocations: 4 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.006202, allocations: 15.98 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.006204, allocations: 4 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.006219, allocations: 0 / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.006226, allocations: 8 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.529e-05/0.006281, allocations: 108.7 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.006301, allocations: 15.92 kB / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.006398, allocations: 75.08 kB / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.006401, allocations: 4 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.006404, allocations: 3.984 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006407, allocations: 0 / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.006627, allocations: 251.5 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.00663, allocations: 8.031 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.006662, allocations: 16.41 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.006664, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-06/0.006668, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006669, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.00667, allocations: 7.938 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.585e-05/0.006756, allocations: 168.2 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.006766, allocations: 15.89 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.006778, allocations: 3.984 kB / 330.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.00681, allocations: 4 kB / 330.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.006834, allocations: 15.98 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.006838, allocations: 0 / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.661e-05/0.006884, allocations: 60.23 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006885, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001367/0.007021, allocations: 23.94 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 0.001117/0.008138, allocations: 0.5733 MB / 331.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.008219, allocations: 44.7 kB / 331.6 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.008223, allocations: 0 / 331.6 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.451e-05/0.008247, allocations: 24.78 kB / 331.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.008401, allocations: 19.98 kB / 331.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.008694, allocations: 238.6 kB / 331.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.008735, allocations: 75.39 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.292e-05/0.008767, allocations: 17.02 kB / 331.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.008818, allocations: 59.38 kB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.008819, allocations: 0 / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of Templates: time 0.002997/0.01182, allocations: 1.538 MB / 333.5 MB, free: 15.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.8590686242096126]