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.001212/0.001212, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001196/0.001196, allocations: 172.3 kB / 24.91 MB, free: 8.77 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.971/0.971, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.229/0.229, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.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.312e-06/1.312e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.626e-05, allocations: 2.312 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.00233/0.002346, allocations: 2.069 MB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003721, allocations: 1.301 MB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.003806, allocations: 7.938 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.003986, allocations: 43.53 kB / 326.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.004323, allocations: 226.9 kB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.0048, allocations: 450.9 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.005054, allocations: 334.9 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.005166, allocations: 51.55 kB / 327.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.005362, allocations: 179.5 kB / 327.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.005522, allocations: 171.5 kB / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.005546, allocations: 20 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.005635, allocations: 67.84 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.005741, allocations: 143.5 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.005804, allocations: 91.58 kB / 328.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.006059, allocations: 318.7 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.006061, allocations: 3.984 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006062, allocations: 0 / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.006066, allocations: 0 / 328.7 MB, free: 4.242 MB / 298.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.0005353/0.006601, allocations: 0.6935 MB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.006628, allocations: 11.98 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.006809, allocations: 68.86 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.007073, allocations: 334.5 kB / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.007082, allocations: 8.375 kB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.007103, allocations: 8.375 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.007234, allocations: 127.8 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.007243, allocations: 7.891 kB / 329.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.007252, allocations: 4 kB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.007257, allocations: 8 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.007302, allocations: 31.75 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.007646, allocations: 340 kB / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.464e-05/0.007741, allocations: 77.06 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.007767, allocations: 25.97 kB / 330.4 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.007785, allocations: 4 kB / 330.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.007802, allocations: 34.56 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.007804, allocations: 224 / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005725/0.008376, allocations: 285 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.008411, allocations: 81.09 kB / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.008751, allocations: 0.5681 MB / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.008765, allocations: 29.7 kB / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.00883, allocations: 170.3 kB / 331.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.00918, allocations: 71.38 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.009233, allocations: 45.67 kB / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.009342, allocations: 374.6 kB / 332 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.009378, allocations: 15.98 kB / 332 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.009427, allocations: 40.44 kB / 332.1 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.009518, allocations: 85.7 kB / 332.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.009519, allocations: 0.75 kB / 332.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001428/0.009662, allocations: 117.6 kB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.009683, allocations: 11.98 kB / 332.3 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.00969, allocations: 3.938 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.009706, allocations: 3.984 kB / 332.3 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.009833, allocations: 43.91 kB / 332.3 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.009837, allocations: 7.984 kB / 332.4 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.009906, allocations: 19.98 kB / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.009916, allocations: 7.984 kB / 332.4 MB, free: 336 kB / 298.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 7.995e-05/0.009996, allocations: 124.6 kB / 332.5 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.01004, allocations: 31.97 kB / 332.5 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.01025, allocations: 178.4 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01026, allocations: 4 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01026, allocations: 0 / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01026, allocations: 3.938 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.01068, allocations: 498 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01068, allocations: 3.938 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.01078, allocations: 47.97 kB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01078, allocations: 0 / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01079, allocations: 7.984 kB / 333.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01079, allocations: 0 / 333.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01079, allocations: 3.938 kB / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.01126, allocations: 298.8 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.0113, allocations: 59.53 kB / 333.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.01133, allocations: 11.94 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.01141, allocations: 11.98 kB / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.01145, allocations: 15.97 kB / 333.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.01147, allocations: 15.98 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.01165, allocations: 291.4 kB / 334 MB, free: 14.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01165, allocations: 0 / 334 MB, free: 14.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.01185, allocations: 63.94 kB / 334 MB, free: 14.63 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.0009883/0.01284, allocations: 0.502 MB / 334.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.01297, allocations: 76.75 kB / 334.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.01297, allocations: 4 kB / 334.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.58e-05/0.01303, allocations: 64.69 kB / 334.7 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.01331, allocations: 86.55 kB / 334.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.01415, allocations: 0.7931 MB / 335.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.011e-05/0.01424, allocations: 141.7 kB / 335.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.01434, allocations: 63.22 kB / 335.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.01447, allocations: 107.3 kB / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01447, allocations: 0 / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of Templates: time 0.006331/0.0208, allocations: 4.723 MB / 340.6 MB, free: 8.367 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 -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: 2.9202455137856305]