Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 81.81 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 168.4 kB / 24.82 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9998/0.9998, allocations: 177 MB / 205.1 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2951/0.2951, allocations: 34.87 MB / 296.6 MB, free: 0.4961 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.891e-05, allocations: 4.844 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002179/0.002198, allocations: 1.692 MB / 380.9 MB, free: 120 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006105/0.002809, allocations: 0.8181 MB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.002854, allocations: 0 / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.003079, allocations: 23.86 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.00327, allocations: 47.69 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.535e-06/0.003273, allocations: 0 / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.003402, allocations: 31.89 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.003437, allocations: 4 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.003515, allocations: 19.92 kB / 381.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.513e-05/0.00354, allocations: 15.91 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.00355, allocations: 4 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.131e-05/0.003591, allocations: 8 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.003633, allocations: 16 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.00365, allocations: 7.938 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.003761, allocations: 59.64 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003764, allocations: 0 / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003764, allocations: 0 / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.003768, allocations: 0 / 382 MB, free: 15.06 MB / 362.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.0002999/0.004068, allocations: 396.4 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.004107, allocations: 8.031 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.004134, allocations: 8.891 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.004243, allocations: 128.5 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.004252, allocations: 4.375 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.004259, allocations: 4.375 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.004368, allocations: 108.3 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.004378, allocations: 8.125 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.004384, allocations: 384 / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.004423, allocations: 24.36 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.00445, allocations: 27.84 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.004913, allocations: 1.177 MB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.004992, allocations: 265.4 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.005023, allocations: 130.9 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.005049, allocations: 119.3 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.005091, allocations: 160.5 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.005092, allocations: 0 / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.32e-05/0.005145, allocations: 41.59 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.005195, allocations: 174.5 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.005335, allocations: 251.8 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.005343, allocations: 25.7 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.005422, allocations: 202.2 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.005427, allocations: 7.984 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.005469, allocations: 55.31 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.005584, allocations: 0.4962 MB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.005597, allocations: 11.98 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-05/0.005685, allocations: 192.6 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.005819, allocations: 225.5 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.005822, allocations: 8 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001553/0.005978, allocations: 153.7 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.00599, allocations: 16.06 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.005996, allocations: 4 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.006008, allocations: 4 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.006081, allocations: 39.92 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.006087, allocations: 7.938 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.006135, allocations: 27.83 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.006143, allocations: 8 kB / 386.4 MB, free: 10.18 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 8.87e-05/0.006232, allocations: 295.6 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.006279, allocations: 152.8 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.006327, allocations: 160.6 kB / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/0.006384, allocations: 272.1 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.568e-05/0.00644, allocations: 272 kB / 387.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.305e-05/0.006503, allocations: 272.1 kB / 387.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.006675, allocations: 0.4926 MB / 388.3 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/0.006708, allocations: 144.9 kB / 388.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.006738, allocations: 144.9 kB / 388.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.356e-05/0.006792, allocations: 268 kB / 388.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.006848, allocations: 276.1 kB / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.513e-05/0.006903, allocations: 268 kB / 389.4 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.015e-05/0.006964, allocations: 268.1 kB / 389.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.007089, allocations: 455.9 kB / 390.1 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.00713, allocations: 156.8 kB / 390.3 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.007198, allocations: 272 kB / 390.5 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.00726, allocations: 148.8 kB / 390.7 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.007327, allocations: 268.1 kB / 390.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.00736, allocations: 152.8 kB / 391.1 MB, free: 5.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.007422, allocations: 156 kB / 391.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007422, allocations: 0 / 391.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.007595, allocations: 15.94 kB / 391.3 MB, free: 5.184 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.0003822/0.007977, allocations: 315.5 kB / 391.6 MB, free: 4.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.124e-05/0.008068, allocations: 67.47 kB / 391.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008069, allocations: 0 / 391.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.00807, allocations: 0 / 391.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.008359, allocations: 0.7179 MB / 392.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.008601, allocations: 282.5 kB / 392.6 MB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.994e-05/0.00864, allocations: 59.84 kB / 392.7 MB, free: 3.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.722e-05/0.008698, allocations: 17.14 kB / 392.7 MB, free: 3.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.008741, allocations: 82.19 kB / 392.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.008742, allocations: 0 / 392.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of Templates: time 0.002208/0.01095, allocations: 0.7778 MB / 393.6 MB, free: 2.855 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.0469859750010073]