Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001095/0.001095, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001238/0.001238, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9428/0.9428, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2362/0.2362, allocations: 32.81 MB / 294.6 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.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.705e-05, allocations: 6.25 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003261/0.003288, allocations: 1.7 MB / 378.2 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.004311, allocations: 0.8026 MB / 379 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.004353, allocations: 0 / 379 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.004603, allocations: 31.78 kB / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.004829, allocations: 43.77 kB / 379.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.004832, allocations: 4 kB / 379.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.004971, allocations: 39.83 kB / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.005004, allocations: 0 / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.005099, allocations: 15.97 kB / 379.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.891e-05/0.005127, allocations: 11.94 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.005137, allocations: 0 / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.005186, allocations: 19.92 kB / 379.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.005227, allocations: 11.94 kB / 379.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.005245, allocations: 8 kB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.005376, allocations: 55.7 kB / 379.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.00538, allocations: 4 kB / 379.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005381, allocations: 0 / 379.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.005385, allocations: 0 / 379.2 MB, free: 1.621 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003197/0.005704, allocations: 392.4 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.005752, allocations: 8.031 kB / 379.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.005784, allocations: 8.891 kB / 379.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.005918, allocations: 132.5 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.005928, allocations: 4.375 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.005934, allocations: 384 / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.006066, allocations: 114.7 kB / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.006074, allocations: 192 / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.006081, allocations: 8.312 kB / 379.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.00613, allocations: 28.34 kB / 379.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.006171, allocations: 27.8 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.006752, allocations: 1.177 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.945e-05/0.006842, allocations: 269.5 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.006879, allocations: 126.9 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.006911, allocations: 119.2 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.006963, allocations: 164.6 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.006964, allocations: 0 / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.595e-05/0.00703, allocations: 33.66 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.007086, allocations: 182.5 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.007257, allocations: 247 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.007265, allocations: 25.7 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.007367, allocations: 206.2 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-06/0.007371, allocations: 4 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.00743, allocations: 51.31 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.007565, allocations: 0.4962 MB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.007587, allocations: 11.98 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.007707, allocations: 189.7 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.007881, allocations: 233.4 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.007885, allocations: 0 / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002409/0.008126, allocations: 157.2 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.008142, allocations: 8 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.008149, allocations: 4 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.008166, allocations: 8 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.008274, allocations: 40.55 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.008281, allocations: 7.938 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.008364, allocations: 27.84 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.008377, allocations: 15.94 kB / 383.7 MB, free: 12.73 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.0001154/0.008492, allocations: 291.6 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.008565, allocations: 152.8 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.008627, allocations: 152.7 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.357e-05/0.0087, allocations: 272 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.16e-05/0.008772, allocations: 276.1 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.182e-05/0.008844, allocations: 276 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.009065, allocations: 496.5 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/0.009103, allocations: 148.8 kB / 385.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.009141, allocations: 152.8 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.958e-05/0.009211, allocations: 268.1 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.884e-05/0.009279, allocations: 276 kB / 386.4 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.448e-05/0.009344, allocations: 264.1 kB / 386.7 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.865e-05/0.009413, allocations: 272.1 kB / 386.9 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.009572, allocations: 455.9 kB / 387.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.009626, allocations: 160.8 kB / 387.5 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.009704, allocations: 264.1 kB / 387.8 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.009786, allocations: 144.9 kB / 387.9 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.00986, allocations: 272 kB / 388.2 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.0099, allocations: 152.9 kB / 388.3 MB, free: 7.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.549e-05/0.009986, allocations: 159.3 kB / 388.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009986, allocations: 0 / 388.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.0103, allocations: 19.94 kB / 388.5 MB, free: 7.73 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.0005188/0.01082, allocations: 303.3 kB / 388.8 MB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.01094, allocations: 68.47 kB / 388.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.01095, allocations: 0 / 388.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/0.01095, allocations: 4.188 kB / 388.9 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.01134, allocations: 0.7101 MB / 389.6 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.01166, allocations: 275.8 kB / 389.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.88e-05/0.01171, allocations: 67.84 kB / 389.9 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.688e-05/0.01178, allocations: 17.12 kB / 389.9 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.01184, allocations: 82.19 kB / 390 MB, free: 6.195 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01184, allocations: 0 / 390 MB, free: 6.195 MB / 362.7 MB Notification: Performance of Templates: time 0.003194/0.01503, allocations: 0.7766 MB / 390.8 MB, free: 5.422 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9278095196932554]