Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.0009183/0.0009183, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.000888/0.000888, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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 0.9473/0.9473, allocations: 177.2 MB / 205 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2417/0.2417, allocations: 32.81 MB / 294.3 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.058e-05, allocations: 6.25 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002133/0.002154, allocations: 1.665 MB / 377.7 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007195/0.002873, allocations: 0.5415 MB / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.00293, allocations: 4 kB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.003173, allocations: 71.7 kB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.003654, allocations: 107.5 kB / 378.4 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.003986, allocations: 119.6 kB / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.004166, allocations: 83.75 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.004286, allocations: 15.98 kB / 378.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.138e-05/0.004357, allocations: 39.89 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.004463, allocations: 55.88 kB / 378.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.00448, allocations: 4 kB / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.004585, allocations: 47.86 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.004647, allocations: 23.91 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.004683, allocations: 19.94 kB / 378.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.004893, allocations: 91.59 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.004898, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004899, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.004905, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.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.000545/0.00545, allocations: 443.9 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.005493, allocations: 8.031 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.005553, allocations: 24.78 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.005724, allocations: 145.1 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.005739, allocations: 4.359 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.005774, allocations: 4.375 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.005928, allocations: 62.94 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.005941, allocations: 4.188 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.005954, allocations: 4.125 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.005963, allocations: 0 / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.006003, allocations: 11.98 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.00645, allocations: 299.7 kB / 379.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.006534, allocations: 43 kB / 379.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.006563, allocations: 15.7 kB / 380 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.006591, allocations: 4 kB / 380 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.006618, allocations: 37.39 kB / 380 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.00662, allocations: 3.938 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006276/0.007247, allocations: 169.3 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.007284, allocations: 59.41 kB / 380.2 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.007443, allocations: 238.4 kB / 380.5 MB, free: 32 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.007454, allocations: 25.7 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.007533, allocations: 150.9 kB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.00757, allocations: 27.75 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.007609, allocations: 31.36 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.007736, allocations: 0.504 MB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.007762, allocations: 8 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.007781, allocations: 7.984 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/0.007833, allocations: 39.91 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007834, allocations: 0 / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001037/0.007937, allocations: 81.52 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.007952, allocations: 8 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.007957, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.007974, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.008063, allocations: 15.98 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.008071, allocations: 4 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.008095, allocations: 4 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.008102, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.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 8.046e-05/0.008182, allocations: 168.5 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.008209, allocations: 15.91 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.008379, allocations: 91.12 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.008382, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.008385, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.008388, allocations: 432 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.008724, allocations: 384.9 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.008727, allocations: 4.031 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.008771, allocations: 12 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.008775, allocations: 0 / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008785, allocations: 7.984 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.008788, allocations: 3.938 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.008789, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.008927, allocations: 243.5 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.008938, allocations: 7.953 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.008954, allocations: 4 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.008994, allocations: 7.984 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.00903, allocations: 11.94 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.009036, allocations: 4 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.141e-05/0.009117, allocations: 171.1 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009117, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.009292, allocations: 19.94 kB / 382.5 MB, free: 13.87 MB / 362.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.0009508/0.01024, allocations: 455.3 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.01036, allocations: 35.67 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01036, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.0104, allocations: 39.59 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.01064, allocations: 23.94 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.01107, allocations: 237.8 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.466e-05/0.01111, allocations: 67.34 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.01116, allocations: 17.02 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.01119, allocations: 20.48 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01119, allocations: 4.062 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003542/0.01474, allocations: 1.402 MB / 384.8 MB, free: 11.7 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.3661631010472775]