Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001408/0.001408, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001834/0.001834, allocations: 166.2 kB / 24.99 MB, free: 8.336 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.123/1.123, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.262/0.262, allocations: 34.26 MB / 296 MB, free: 0.7812 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.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.371e-05, allocations: 10.25 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003494/0.003518, allocations: 1.695 MB / 379.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009093/0.004427, allocations: 0.7985 MB / 380.5 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.004469, allocations: 4 kB / 380.5 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.004708, allocations: 31.78 kB / 380.6 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.005076, allocations: 43.81 kB / 380.6 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.00508, allocations: 3.938 kB / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.005237, allocations: 27.91 kB / 380.6 MB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.00527, allocations: 3.984 kB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.758e-05/0.005308, allocations: 15.94 kB / 380.7 MB, free: 348 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.005367, allocations: 15.97 kB / 380.7 MB, free: 332 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.005378, allocations: 0 / 380.7 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.304e-05/0.005421, allocations: 8 kB / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.005465, allocations: 23.92 kB / 380.7 MB, free: 300 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.005487, allocations: 7.938 kB / 380.7 MB, free: 292 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.005614, allocations: 59.7 kB / 380.8 MB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005616, allocations: 3.938 kB / 380.8 MB, free: 228 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005617, allocations: 0 / 380.8 MB, free: 228 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.005621, allocations: 0 / 380.8 MB, free: 228 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003447/0.005965, allocations: 392.3 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.006003, allocations: 8.031 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.00605, allocations: 8.891 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.006183, allocations: 116.5 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.006201, allocations: 12.36 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.006211, allocations: 4.375 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.006367, allocations: 108.4 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.006378, allocations: 4.125 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.006389, allocations: 4.375 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.006444, allocations: 20.36 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.314e-05/0.006498, allocations: 27.86 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.007163, allocations: 1.204 MB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.206e-05/0.007255, allocations: 261.4 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.007296, allocations: 131 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.00733, allocations: 123.1 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.007383, allocations: 164.6 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.007384, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.187e-05/0.007456, allocations: 37.59 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.007519, allocations: 170.6 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.007721, allocations: 255 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.00773, allocations: 25.7 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.007832, allocations: 194.3 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-06/0.007839, allocations: 8 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.007902, allocations: 51.31 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.008078, allocations: 0.4962 MB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.008109, allocations: 15.98 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.008245, allocations: 197.7 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.008438, allocations: 225.5 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.008442, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002688/0.008711, allocations: 173.1 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008726, allocations: 10.03 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.008733, allocations: 8.562 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.008753, allocations: 15.94 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.008874, allocations: 35.92 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.008888, allocations: 11.98 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.511e-05/0.008983, allocations: 27.78 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.008998, allocations: 8 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.0001311/0.009129, allocations: 287.7 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.009203, allocations: 156.8 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.009265, allocations: 160.7 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.603e-05/0.009341, allocations: 268 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.464e-05/0.009426, allocations: 268.1 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-05/0.009506, allocations: 276.1 kB / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.009775, allocations: 0.5193 MB / 387.2 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.105e-05/0.009816, allocations: 144.9 kB / 387.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.935e-05/0.009866, allocations: 144.9 kB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.0101, allocations: 272 kB / 387.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.337e-05/0.01017, allocations: 264.1 kB / 388 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.342e-05/0.01024, allocations: 272 kB / 388.2 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-05/0.01032, allocations: 272 kB / 388.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.01047, allocations: 455.9 kB / 389 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.01052, allocations: 152.8 kB / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.0106, allocations: 276 kB / 389.4 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.01069, allocations: 144.9 kB / 389.5 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.01077, allocations: 272 kB / 389.8 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.01081, allocations: 152.8 kB / 389.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.493e-05/0.01091, allocations: 159.3 kB / 390.1 MB, free: 6.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01091, allocations: 0 / 390.1 MB, free: 6.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000358/0.01127, allocations: 16 kB / 390.1 MB, free: 6.266 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0005486/0.01181, allocations: 313.3 kB / 390.4 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01195, allocations: 72.34 kB / 390.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01195, allocations: 0 / 390.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.01196, allocations: 4 kB / 390.5 MB, free: 5.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.01239, allocations: 0.7101 MB / 391.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.01275, allocations: 285.2 kB / 391.5 MB, free: 4.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.158e-05/0.01279, allocations: 67.78 kB / 391.5 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.01287, allocations: 45.45 kB / 391.6 MB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.01289, allocations: 16.5 kB / 391.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0129, allocations: 0 / 391.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of Templates: time 0.002291/0.01519, allocations: 0.7291 MB / 392.3 MB, free: 4.023 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.2171645830385387]