Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001492/0.001492, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001659/0.001659, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.642/1.642, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3614/0.3614, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.226e-05, allocations: 6.312 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.005454/0.005486, allocations: 2.035 MB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003864/0.00935, allocations: 1.359 MB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.009525, allocations: 4 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.009892, allocations: 55.44 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008702/0.01076, allocations: 230.9 kB / 379 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.01314, allocations: 0.5963 MB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006853/0.01382, allocations: 370.6 kB / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.01401, allocations: 56.88 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.01434, allocations: 191.4 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.0146, allocations: 179.6 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.01464, allocations: 19.94 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.01478, allocations: 67.89 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.01495, allocations: 151.5 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.01509, allocations: 95.56 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.01559, allocations: 410.4 kB / 381.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.01559, allocations: 4 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01559, allocations: 0 / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.0156, allocations: 0 / 381.1 MB, free: 15.16 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001053/0.01665, allocations: 0.7407 MB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.391e-05/0.01667, allocations: 8.031 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004646/0.01714, allocations: 104.5 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.0179, allocations: 438.4 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.01791, allocations: 8.312 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.01794, allocations: 12.38 kB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.01831, allocations: 167.7 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01833, allocations: 3.938 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.01834, allocations: 4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.01835, allocations: 4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.01868, allocations: 115.9 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.01973, allocations: 0.6134 MB / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.02007, allocations: 137.1 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.02023, allocations: 57.81 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.02026, allocations: 8 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.02029, allocations: 38.55 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.02029, allocations: 0 / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002206/0.0225, allocations: 0.7729 MB / 384.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.02256, allocations: 81.33 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.02369, allocations: 0.9025 MB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.02372, allocations: 33.64 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.02405, allocations: 268.5 kB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/0.02412, allocations: 67.39 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-05/0.02421, allocations: 45.7 kB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.02443, allocations: 370.8 kB / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.02475, allocations: 111.9 kB / 386.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.02506, allocations: 125.6 kB / 386.3 MB, free: 9.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.0257, allocations: 253.6 kB / 386.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.0257, allocations: 0 / 386.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008464/0.02655, allocations: 361 kB / 386.9 MB, free: 9.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.02657, allocations: 4 kB / 386.9 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.02658, allocations: 8 kB / 386.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.02659, allocations: 0 / 386.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.02691, allocations: 59.94 kB / 386.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.02692, allocations: 0 / 386.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.0271, allocations: 15.98 kB / 386.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.02713, allocations: 11.98 kB / 386.9 MB, free: 9.051 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002534/0.02738, allocations: 217.7 kB / 387.2 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.02753, allocations: 75.52 kB / 387.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009666/0.02849, allocations: 390.3 kB / 387.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.0285, allocations: 4 kB / 387.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.0285, allocations: 4 kB / 387.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.02851, allocations: 7.984 kB / 387.6 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.03014, allocations: 0.8484 MB / 388.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.03015, allocations: 0 / 388.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.03041, allocations: 59.89 kB / 388.5 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.03041, allocations: 0 / 388.5 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.03043, allocations: 7.984 kB / 388.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.03044, allocations: 0 / 388.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03044, allocations: 4 kB / 388.6 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.03136, allocations: 0.5138 MB / 389.1 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.03148, allocations: 71.61 kB / 389.1 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.03153, allocations: 3.938 kB / 389.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.03182, allocations: 27.97 kB / 389.2 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/0.03191, allocations: 23.91 kB / 389.2 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.03193, allocations: 7.984 kB / 389.2 MB, free: 6.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009336/0.03287, allocations: 0.663 MB / 389.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03287, allocations: 0 / 389.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.03326, allocations: 60 kB / 389.9 MB, free: 6.008 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001982/0.03524, allocations: 444.5 kB / 390.4 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007602/0.036, allocations: 259.6 kB / 390.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.036, allocations: 0 / 390.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.03634, allocations: 135.8 kB / 390.7 MB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.03698, allocations: 83 kB / 390.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.03881, allocations: 1.041 MB / 391.9 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.03916, allocations: 283.2 kB / 392.1 MB, free: 3.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.03941, allocations: 107.2 kB / 392.2 MB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.03956, allocations: 44.47 kB / 392.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03956, allocations: 0 / 392.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of Templates: time 0.011/0.05056, allocations: 4.663 MB / 396.9 MB, free: 15.15 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.98169856891036]