Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.0009419/0.0009419, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009631/0.0009631, allocations: 171.9 kB / 24.91 MB, free: 8.707 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.9495/0.9495, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2478/0.2478, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.298e-05, allocations: 7.406 kB / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002098/0.002111, allocations: 1.742 MB / 325 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.002774, allocations: 0.5607 MB / 325.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.002815, allocations: 4 kB / 325.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.002996, allocations: 39.77 kB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.003177, allocations: 95.47 kB / 325.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.003364, allocations: 135.6 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.003479, allocations: 83.77 kB / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.021e-05/0.003549, allocations: 20.83 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.003607, allocations: 39.84 kB / 326 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.654e-05/0.003674, allocations: 35.94 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.003686, allocations: 4 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.003756, allocations: 51.91 kB / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.003805, allocations: 31.86 kB / 326.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.003823, allocations: 15.94 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.00395, allocations: 95.59 kB / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.003952, allocations: 0 / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003952, allocations: 0 / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.003955, allocations: 0 / 326.2 MB, free: 6.625 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002634/0.004218, allocations: 305.5 kB / 326.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/0.004244, allocations: 8.031 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.004267, allocations: 8.938 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.004374, allocations: 142.1 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.004381, allocations: 8.375 kB / 326.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.004394, allocations: 384 / 326.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.534e-05/0.00448, allocations: 70.67 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.004489, allocations: 0 / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.004497, allocations: 8 kB / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.004502, allocations: 0 / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.068e-05/0.004533, allocations: 11.94 kB / 326.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.00476, allocations: 168.2 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.004875, allocations: 50.47 kB / 327 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.004889, allocations: 12.86 kB / 327 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.004901, allocations: 0 / 327 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.00492, allocations: 38.55 kB / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.81e-07/0.00492, allocations: 0 / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004353/0.005356, allocations: 202.6 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.005382, allocations: 51.41 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.005473, allocations: 162.7 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.005484, allocations: 33.64 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.005516, allocations: 100 kB / 327.6 MB, free: 5.141 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.005542, allocations: 35.69 kB / 327.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.005573, allocations: 21.7 kB / 327.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.005649, allocations: 326.8 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.005664, allocations: 11.98 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.005679, allocations: 8.562 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.005722, allocations: 45.52 kB / 328 MB, free: 4.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.005723, allocations: 0 / 328 MB, free: 4.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.733e-05/0.005791, allocations: 63.2 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.005804, allocations: 12 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005808, allocations: 0 / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.005819, allocations: 4 kB / 328.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.005877, allocations: 31.92 kB / 328.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.005879, allocations: 0 / 328.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.0059, allocations: 7.984 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.005905, allocations: 0 / 328.2 MB, free: 4.562 MB / 298.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.572e-05/0.005961, allocations: 120.6 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.005979, allocations: 4 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.006086, allocations: 102.2 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.006088, allocations: 3.984 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.006089, allocations: 0 / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006092, allocations: 0 / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.006318, allocations: 272.4 kB / 328.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006319, allocations: 0 / 328.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.006367, allocations: 27.92 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006369, allocations: 0 / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.006374, allocations: 4 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006377, allocations: 8.062 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.006378, allocations: 3.938 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.227e-05/0.006471, allocations: 179.5 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.00648, allocations: 7.953 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.006491, allocations: 8 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.006531, allocations: 11.92 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.006558, allocations: 15.92 kB / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.006562, allocations: 0 / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.085e-05/0.006593, allocations: 38.7 kB / 328.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006593, allocations: 0 / 328.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001428/0.006736, allocations: 35.88 kB / 329 MB, free: 3.668 MB / 298.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.001205/0.007941, allocations: 0.5776 MB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.229e-05/0.008023, allocations: 44.72 kB / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.008029, allocations: 16 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.008061, allocations: 32.77 kB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.008221, allocations: 26.61 kB / 329.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.008531, allocations: 243 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.784e-05/0.008569, allocations: 67.33 kB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.008607, allocations: 16.61 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.008663, allocations: 63.38 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008664, allocations: 0 / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of Templates: time 0.002912/0.01158, allocations: 1.679 MB / 331.7 MB, free: 1.172 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.786075681913644]