Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001517/0.001517, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001397/0.001397, allocations: 169 kB / 24.24 MB, free: 312 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 1.049/1.049, allocations: 158.6 MB / 186 MB, free: 2.91 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.1412/0.1412, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 7.875 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.75e-05, allocations: 9.344 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001924/0.001951, allocations: 1.645 MB / 349.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005113/0.002463, allocations: 347.2 kB / 349.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.002532, allocations: 0 / 349.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.002957, allocations: 455.1 kB / 350.1 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.003203, allocations: 259.4 kB / 350.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.003462, allocations: 147.6 kB / 350.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.003638, allocations: 167.7 kB / 350.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.003729, allocations: 12.17 kB / 350.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.00381, allocations: 119.7 kB / 350.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.003967, allocations: 239.6 kB / 351 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.003985, allocations: 4 kB / 351 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.004042, allocations: 31.92 kB / 351.1 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.004115, allocations: 95.64 kB / 351.2 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.004149, allocations: 31.75 kB / 351.2 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.004323, allocations: 195.2 kB / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004325, allocations: 0 / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004325, allocations: 0 / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004329, allocations: 0 / 351.4 MB, free: 6.043 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004509/0.00478, allocations: 0.6893 MB / 352.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.004822, allocations: 8.031 kB / 352.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.004876, allocations: 48.61 kB / 352.1 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.005039, allocations: 240.9 kB / 352.4 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.005051, allocations: 4.375 kB / 352.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.005071, allocations: 4.375 kB / 352.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.005175, allocations: 62.88 kB / 352.4 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.005188, allocations: 192 / 352.4 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.005197, allocations: 7.938 kB / 352.4 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005205, allocations: 3.938 kB / 352.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.005235, allocations: 8 kB / 352.5 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.00556, allocations: 423.6 kB / 352.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.005711, allocations: 54.91 kB / 352.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.005729, allocations: 7.688 kB / 352.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.005747, allocations: 8 kB / 352.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.005769, allocations: 33.39 kB / 353 MB, free: 4.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.00577, allocations: 0 / 353 MB, free: 4.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003363/0.006106, allocations: 188.8 kB / 353.2 MB, free: 4.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.006131, allocations: 55.41 kB / 353.2 MB, free: 4.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.006441, allocations: 0.6199 MB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.006446, allocations: 25.7 kB / 353.8 MB, free: 3.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.006548, allocations: 282.8 kB / 354.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.006568, allocations: 19.84 kB / 354.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.006594, allocations: 23.36 kB / 354.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.006682, allocations: 0.5586 MB / 354.7 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.006698, allocations: 4 kB / 354.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.006712, allocations: 4 kB / 354.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.006751, allocations: 31.8 kB / 354.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.006752, allocations: 0 / 354.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.931e-05/0.006841, allocations: 93.42 kB / 354.9 MB, free: 2.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.006853, allocations: 4 kB / 354.9 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.006859, allocations: 7.984 kB / 354.9 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.006873, allocations: 0 / 354.9 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.869e-05/0.006912, allocations: 8 kB / 354.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.006919, allocations: 0 / 354.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.006942, allocations: 8 kB / 354.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.006947, allocations: 0 / 354.9 MB, free: 2.328 MB / 282.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 (5): * Single equations (assignments): 5 * 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.902e-05/0.007006, allocations: 168.4 kB / 355 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.007035, allocations: 43.72 kB / 355.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.007153, allocations: 93.19 kB / 355.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.007157, allocations: 4 kB / 355.2 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.00716, allocations: 0 / 355.2 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.007164, allocations: 0 / 355.2 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.007433, allocations: 473.3 kB / 355.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007434, allocations: 4 kB / 355.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.007458, allocations: 11.94 kB / 355.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007461, allocations: 0 / 355.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.007468, allocations: 0 / 355.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007469, allocations: 4 kB / 355.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.007471, allocations: 3.984 kB / 355.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.907e-05/0.00757, allocations: 243.8 kB / 355.9 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.00759, allocations: 35.7 kB / 355.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.007607, allocations: 3.938 kB / 355.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.007643, allocations: 4 kB / 356 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.007685, allocations: 7.984 kB / 356 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.007688, allocations: 8 kB / 356 MB, free: 1.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.007893, allocations: 418.8 kB / 356.4 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007893, allocations: 0 / 356.4 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.008055, allocations: 23.94 kB / 356.4 MB, free: 0.7344 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007273/0.008782, allocations: 380.9 kB / 356.8 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.779e-05/0.00888, allocations: 31.67 kB / 356.8 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.008882, allocations: 0 / 356.8 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.06e-05/0.008902, allocations: 23.61 kB / 356.8 MB, free: 396 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.009135, allocations: 23.22 kB / 356.8 MB, free: 376 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.009738, allocations: 0.5704 MB / 357.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.433e-05/0.009822, allocations: 123.2 kB / 357.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.009859, allocations: 15.98 kB / 357.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.009886, allocations: 12.5 kB / 357.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009887, allocations: 0 / 357.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003767/0.01365, allocations: 1.376 MB / 358.9 MB, free: 14.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.6341770230792463]