Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.001347/0.001347, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002188/0.003536, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009259/0.0009259, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002256, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9851/0.9851, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1805/1.166, allocations: 49.5 MB / 220.5 MB, free: 5.285 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1319/0.1319, allocations: 32.34 MB / 253.6 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02262/0.1545, allocations: 12.3 MB / 265.9 MB, free: 7.844 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.661e-05, allocations: 6.25 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002342/0.002369, allocations: 1.685 MB / 268.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004468/0.002816, allocations: 343.2 kB / 269.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.002857, allocations: 4 kB / 269.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.003248, allocations: 491 kB / 269.7 MB, free: 4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.003462, allocations: 267.3 kB / 270 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.003655, allocations: 111.7 kB / 270.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.003816, allocations: 163.6 kB / 270.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.773e-05/0.003893, allocations: 12.11 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.004034, allocations: 155.8 kB / 270.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.004183, allocations: 195.6 kB / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.004197, allocations: 0 / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.004262, allocations: 35.92 kB / 270.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.00435, allocations: 83.7 kB / 270.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.004388, allocations: 35.75 kB / 270.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.00458, allocations: 183.2 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.629e-05/0.004596, allocations: 4 kB / 270.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004597, allocations: 4 kB / 271 MB, free: 2.773 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.004613, allocations: 0 / 271 MB, free: 2.773 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006408/0.005254, allocations: 0.5876 MB / 271.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.005297, allocations: 8.031 kB / 271.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.005355, allocations: 28.91 kB / 271.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.00557, allocations: 242 kB / 271.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.005582, allocations: 384 / 271.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.005602, allocations: 4.375 kB / 271.8 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.00573, allocations: 58.89 kB / 271.9 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.005741, allocations: 4.188 kB / 271.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.00575, allocations: 7.938 kB / 271.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.005756, allocations: 0 / 271.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.005785, allocations: 11.97 kB / 271.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.006014, allocations: 168.2 kB / 272.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/0.006082, allocations: 30.5 kB / 272.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.006098, allocations: 8.859 kB / 272.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.006122, allocations: 0 / 272.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.006144, allocations: 34.5 kB / 272.1 MB, free: 1.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.006145, allocations: 4 kB / 272.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.000306/0.006451, allocations: 129.9 kB / 272.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.00648, allocations: 51.41 kB / 272.3 MB, free: 1.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.006828, allocations: 0.5244 MB / 272.8 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.006838, allocations: 29.7 kB / 272.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.006894, allocations: 133.3 kB / 273 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.006914, allocations: 27.75 kB / 273 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.00694, allocations: 21.69 kB / 273 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.007036, allocations: 354.7 kB / 273.4 MB, free: 184 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.007047, allocations: 4 kB / 273.4 MB, free: 180 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.185e-05/0.007059, allocations: 11.98 kB / 273.4 MB, free: 168 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.00709, allocations: 28.77 kB / 273.4 MB, free: 136 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.007091, allocations: 0 / 273.4 MB, free: 136 kB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.59e-05/0.007156, allocations: 73.61 kB / 273.5 MB, free: 56 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.007169, allocations: 7.984 kB / 273.5 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007173, allocations: 0 / 273.5 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.007182, allocations: 4 kB / 273.5 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.007248, allocations: 16 kB / 273.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.00725, allocations: 0 / 273.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.007276, allocations: 7.984 kB / 273.5 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.00728, allocations: 4 kB / 273.5 MB, free: 16 kB / 266.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 (7): * Single equations (assignments): 7 * 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.646e-05/0.007356, allocations: 120.6 kB / 273.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.007381, allocations: 27.91 kB / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.007482, allocations: 97.45 kB / 273.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007483, allocations: 0 / 273.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.007484, allocations: 0 / 273.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.007487, allocations: 0 / 273.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.007698, allocations: 283 kB / 274.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.007699, allocations: 0 / 274.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.007735, allocations: 15.98 kB / 274.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.007755, allocations: 39.72 kB / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007757, allocations: 0 / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.007763, allocations: 3.984 kB / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007764, allocations: 0 / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007765, allocations: 0 / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.298e-05/0.007848, allocations: 175.4 kB / 274.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.007861, allocations: 8 kB / 274.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.007898, allocations: 4 kB / 274.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.007925, allocations: 3.984 kB / 274.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.007927, allocations: 0 / 274.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.008088, allocations: 283.2 kB / 274.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008088, allocations: 0 / 274.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.008219, allocations: 27.94 kB / 274.6 MB, free: 14.89 MB / 282.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 (7): * Single equations (assignments): 7 * 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.001097/0.009317, allocations: 0.5465 MB / 275.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.009409, allocations: 32.78 kB / 275.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.009419, allocations: 4 kB / 275.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.009442, allocations: 20.84 kB / 275.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.009664, allocations: 45.89 kB / 275.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.01037, allocations: 0.5824 MB / 275.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.829e-05/0.01045, allocations: 119.2 kB / 276 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.344e-05/0.01048, allocations: 15.98 kB / 276 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.01054, allocations: 63.39 kB / 276 MB, free: 13.39 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01054, allocations: 0 / 276 MB, free: 13.39 MB / 282.7 MB Notification: Performance of Templates: time 0.003691/0.01423, allocations: 1.55 MB / 277.6 MB, free: 11.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.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.934458532370627]