Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0009406/0.0009406, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009669/0.0009669, allocations: 170.1 kB / 24.91 MB, free: 8.723 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.9823/0.9823, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1678/0.1678, allocations: 32.8 MB / 294.6 MB, free: 15.45 MB / 282.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 323.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.407e-05, allocations: 6.25 kB / 323.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002737/0.002761, allocations: 2.124 MB / 325.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.004453, allocations: 1.3 MB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.004568, allocations: 4 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.004791, allocations: 51.45 kB / 326.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007009/0.005492, allocations: 215 kB / 327 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.006194, allocations: 439 kB / 327.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.006591, allocations: 338.9 kB / 327.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.006725, allocations: 54.78 kB / 327.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.006989, allocations: 183.4 kB / 328 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.007191, allocations: 167.5 kB / 328.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.007221, allocations: 16 kB / 328.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.007357, allocations: 71.91 kB / 328.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.007476, allocations: 147.5 kB / 328.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.007544, allocations: 91.58 kB / 328.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.007858, allocations: 322.6 kB / 328.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007862, allocations: 0 / 328.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.007864, allocations: 4 kB / 328.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.007869, allocations: 0 / 328.8 MB, free: 13.23 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006069/0.008476, allocations: 0.6846 MB / 329.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.008509, allocations: 11.97 kB / 329.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.008733, allocations: 72.86 kB / 329.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.009047, allocations: 330.6 kB / 329.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.009061, allocations: 4.375 kB / 329.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.009087, allocations: 20.33 kB / 329.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.00924, allocations: 127.6 kB / 330 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.009253, allocations: 3.938 kB / 330 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.009262, allocations: 4 kB / 330 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.009266, allocations: 0 / 330 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.009317, allocations: 31.97 kB / 330.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.009715, allocations: 352 kB / 330.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.009823, allocations: 69.2 kB / 330.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.009852, allocations: 29.83 kB / 330.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.009872, allocations: 4 kB / 330.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.009894, allocations: 34.56 kB / 330.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.009895, allocations: 4 kB / 330.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006119/0.01051, allocations: 281.1 kB / 330.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.01054, allocations: 81.11 kB / 330.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.01092, allocations: 0.5837 MB / 331.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.01094, allocations: 29.7 kB / 331.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.01102, allocations: 158.4 kB / 331.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.01107, allocations: 75.36 kB / 331.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.01112, allocations: 33.69 kB / 331.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.01122, allocations: 374.6 kB / 332.1 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.01126, allocations: 20 kB / 332.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/0.01131, allocations: 41.67 kB / 332.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.0114, allocations: 69.59 kB / 332.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.0114, allocations: 0 / 332.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001458/0.01155, allocations: 125.8 kB / 332.4 MB, free: 9.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.01156, allocations: 4 kB / 332.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01157, allocations: 7.875 kB / 332.4 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.01158, allocations: 4 kB / 332.4 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.01171, allocations: 47.95 kB / 332.4 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.01171, allocations: 0 / 332.4 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.01178, allocations: 11.98 kB / 332.5 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01179, allocations: 8 kB / 332.5 MB, free: 9.336 MB / 314.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 8.931e-05/0.01188, allocations: 124.6 kB / 332.6 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.01194, allocations: 39.97 kB / 332.6 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.01216, allocations: 187.1 kB / 332.8 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01216, allocations: 0 / 332.8 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01217, allocations: 4 kB / 332.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01217, allocations: 3.984 kB / 332.8 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.01264, allocations: 489.7 kB / 333.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.01264, allocations: 3.938 kB / 333.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01275, allocations: 47.89 kB / 333.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01276, allocations: 4 kB / 333.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01277, allocations: 11.98 kB / 333.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01277, allocations: 0 / 333.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01277, allocations: 0 / 333.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.01297, allocations: 305.5 kB / 333.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.01301, allocations: 55.55 kB / 333.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.01304, allocations: 4 kB / 333.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.01314, allocations: 19.92 kB / 333.7 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.01319, allocations: 19.95 kB / 333.7 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01319, allocations: 4 kB / 333.8 MB, free: 7.977 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000218/0.01341, allocations: 295.4 kB / 334 MB, free: 7.691 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01341, allocations: 4 kB / 334 MB, free: 7.688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004975/0.01391, allocations: 60 kB / 334.1 MB, free: 7.629 MB / 314.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.001133/0.01504, allocations: 0.4933 MB / 334.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.0152, allocations: 88.62 kB / 334.7 MB, free: 7.273 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.01521, allocations: 4 kB / 334.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.01527, allocations: 56.75 kB / 334.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.0156, allocations: 94.52 kB / 334.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.01656, allocations: 0.7887 MB / 335.6 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.745e-05/0.01665, allocations: 140.8 kB / 335.8 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.01677, allocations: 67.22 kB / 335.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.01693, allocations: 107.3 kB / 335.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01693, allocations: 0 / 335.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of Templates: time 0.007739/0.02467, allocations: 4.739 MB / 340.7 MB, free: 1.324 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.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.085215549916029]