Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001292/0.001292, 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.0009859/0.0009859, allocations: 170.2 kB / 24.91 MB, free: 8.73 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.9856/0.9856, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2701/0.2701, allocations: 32.81 MB / 294.6 MB, free: 1.234 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.642e-05, allocations: 5.438 kB / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002354/0.00238, allocations: 1.694 MB / 324.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.00373, allocations: 1.297 MB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.003782, allocations: 0 / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.003967, allocations: 27.78 kB / 326.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.004285, allocations: 83.56 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.004555, allocations: 135.6 kB / 326.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.004676, allocations: 71.77 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.004756, allocations: 16.61 kB / 326.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.00482, allocations: 35.91 kB / 326.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.004913, allocations: 31.84 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.004928, allocations: 4 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.005069, allocations: 95.81 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.005123, allocations: 19.91 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.005145, allocations: 19.92 kB / 326.8 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.005338, allocations: 131.6 kB / 326.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.005341, allocations: 4 kB / 326.9 MB, free: 6.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005342, allocations: 0 / 326.9 MB, free: 6.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.005345, allocations: 0 / 326.9 MB, free: 6.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003303/0.005675, allocations: 313.4 kB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.005706, allocations: 12.03 kB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.005738, allocations: 12.92 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.005861, allocations: 117.7 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.005872, allocations: 8.375 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.005891, allocations: 4.312 kB / 327.4 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.006013, allocations: 114.3 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.006022, allocations: 4.141 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.006033, allocations: 4.125 kB / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.006038, allocations: 0 / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.006061, allocations: 8 kB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.006254, allocations: 168.2 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.221e-05/0.006306, allocations: 30.56 kB / 327.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.319e-05/0.00632, allocations: 8.859 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.006337, allocations: 4 kB / 327.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.006358, allocations: 38.5 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.006359, allocations: 4 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.00029/0.006649, allocations: 117.7 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.006685, allocations: 77.11 kB / 327.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.006773, allocations: 138.6 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.006783, allocations: 25.7 kB / 328.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.006815, allocations: 92.06 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.006838, allocations: 27.8 kB / 328.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.006869, allocations: 17.72 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.00695, allocations: 322.8 kB / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.006965, allocations: 11.94 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.007006, allocations: 47.41 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.007038, allocations: 24.83 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007039, allocations: 0 / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.339e-05/0.007102, allocations: 61.55 kB / 328.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.007114, allocations: 6.031 kB / 328.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007118, allocations: 0 / 328.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.00713, allocations: 4 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/0.007199, allocations: 19.92 kB / 328.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.007202, allocations: 0 / 328.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.007229, allocations: 16.02 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.007234, allocations: 0 / 328.7 MB, free: 4.062 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 (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 5.572e-05/0.007289, allocations: 112.7 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.007308, allocations: 7.938 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.007401, allocations: 70.69 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007402, allocations: 4 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.007404, allocations: 0 / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007406, allocations: 0 / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.007614, allocations: 226.8 kB / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.007617, allocations: 3.984 kB / 329.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.007657, allocations: 20 kB / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.00766, allocations: 4 kB / 329.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.007665, allocations: 3.984 kB / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007666, allocations: 0 / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007667, allocations: 0 / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.283e-05/0.00775, allocations: 151.4 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.007761, allocations: 15.94 kB / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.007773, allocations: 4 kB / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.007809, allocations: 4 kB / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.007835, allocations: 7.984 kB / 329.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.007838, allocations: 4 kB / 329.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.767e-05/0.007866, allocations: 24.84 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007866, allocations: 0 / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001839/0.00805, allocations: 47.86 kB / 329.4 MB, free: 3.305 MB / 298.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.001416/0.009466, allocations: 0.6259 MB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.009562, allocations: 40.77 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.009565, allocations: 0 / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.009588, allocations: 20.84 kB / 330.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.009738, allocations: 31.11 kB / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.01005, allocations: 194.5 kB / 330.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.01008, allocations: 63.34 kB / 330.4 MB, free: 2.609 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.042e-05/0.01012, allocations: 11.98 kB / 330.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.01019, allocations: 67.34 kB / 330.5 MB, free: 2.531 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01019, allocations: 0 / 330.5 MB, free: 2.531 MB / 298.7 MB Notification: Performance of Templates: time 0.003885/0.01407, allocations: 2.123 MB / 332.6 MB, free: 432 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.0862656170502305]