Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.0009927/0.0009927, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001013/0.001013, allocations: 166 kB / 25.61 MB, free: 8.582 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 0.9283/0.9283, allocations: 177.1 MB / 206 MB, free: 4.527 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.1372/0.1372, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.688e-05, allocations: 7.625 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003209/0.003236, allocations: 1.701 MB / 381 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009765/0.004212, allocations: 0.5568 MB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.004289, allocations: 8 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.004558, allocations: 55.78 kB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.004904, allocations: 107.4 kB / 381.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.005354, allocations: 175.5 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.005524, allocations: 91.75 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.005628, allocations: 16.16 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.005707, allocations: 47.89 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.005797, allocations: 39.89 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.005814, allocations: 4 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.005924, allocations: 51.91 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.005986, allocations: 19.92 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.006015, allocations: 19.92 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.006191, allocations: 107.6 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006193, allocations: 3.938 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006194, allocations: 0 / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.006198, allocations: 0 / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003729/0.006571, allocations: 443.9 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.006607, allocations: 8.031 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.00665, allocations: 12.89 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.006783, allocations: 148.4 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.006794, allocations: 4.375 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.006814, allocations: 4.312 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.006932, allocations: 66.94 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.006944, allocations: 4.188 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.006952, allocations: 4.125 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.006958, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.006996, allocations: 15.92 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.007288, allocations: 284.2 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.007445, allocations: 43.05 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.007471, allocations: 19.8 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.007488, allocations: 3.938 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.007505, allocations: 41.42 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.007507, allocations: 4 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007035/0.00821, allocations: 225.6 kB / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.008234, allocations: 55.41 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.008345, allocations: 216 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.008356, allocations: 29.7 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.008398, allocations: 162.7 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.008431, allocations: 43.67 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.008478, allocations: 27.38 kB / 384.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.008532, allocations: 0.5 MB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.008561, allocations: 11.98 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/0.008589, allocations: 15.98 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.008664, allocations: 43.67 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.008666, allocations: 0 / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001332/0.008799, allocations: 89.53 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.008811, allocations: 4 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.008815, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.008826, allocations: 8 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.008921, allocations: 23.92 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.008925, allocations: 3.984 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.008967, allocations: 4 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.008977, allocations: 4 kB / 384.8 MB, free: 17.64 MB / 314.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 (11): * Single equations (assignments): 11 * 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.728e-05/0.009034, allocations: 160.5 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.009074, allocations: 11.95 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.009255, allocations: 110.4 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.009258, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.00926, allocations: 4 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.009263, allocations: 3.938 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.009637, allocations: 385.2 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.009639, allocations: 0 / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.009726, allocations: 23.92 kB / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.009729, allocations: 4 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.009737, allocations: 4 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.00974, allocations: 4 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009742, allocations: 0 / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.009895, allocations: 271 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.009908, allocations: 7.953 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.009927, allocations: 4.188 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.01001, allocations: 12 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.01004, allocations: 11.92 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.01005, allocations: 7.984 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.01011, allocations: 156.5 kB / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01011, allocations: 0 / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.0104, allocations: 27.94 kB / 386 MB, free: 16.37 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00126/0.01166, allocations: 435 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.0118, allocations: 51.59 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01181, allocations: 4 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.01186, allocations: 31.61 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.0122, allocations: 31.02 kB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.01267, allocations: 282.2 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.113e-05/0.01273, allocations: 83.31 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.392e-05/0.0128, allocations: 8.5 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.01288, allocations: 86.19 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01289, allocations: 0 / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of Templates: time 0.003928/0.01681, allocations: 1.829 MB / 388.8 MB, free: 13.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.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.9698075368069112]