Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001372/0.001372, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001418/0.001418, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9527/0.9527, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2592/0.2592, allocations: 32.8 MB / 294.6 MB, free: 1.227 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.682e-05, allocations: 9.203 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002067/0.002084, allocations: 1.7 MB / 378.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.003549, allocations: 1.309 MB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.003608, allocations: 0 / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.003803, allocations: 27.78 kB / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.004064, allocations: 95.53 kB / 379.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.004359, allocations: 171.5 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.004478, allocations: 83.75 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.004558, allocations: 7.984 kB / 379.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.004622, allocations: 39.91 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.00471, allocations: 39.91 kB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.004724, allocations: 4 kB / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.004848, allocations: 91.81 kB / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.004895, allocations: 27.91 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.004917, allocations: 15.92 kB / 380.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.005087, allocations: 143.5 kB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.005088, allocations: 0 / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005089, allocations: 0 / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.005092, allocations: 3.938 kB / 380.2 MB, free: 0.6172 MB / 346.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.0003409/0.005433, allocations: 428 kB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.005465, allocations: 16.03 kB / 380.7 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.005497, allocations: 12.89 kB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.005632, allocations: 141.9 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.005641, allocations: 384 / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.005656, allocations: 4.375 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.005774, allocations: 111.9 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.005782, allocations: 192 / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.00579, allocations: 6.625 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005794, allocations: 0 / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.005817, allocations: 11.98 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.006048, allocations: 272.3 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.0061, allocations: 47.05 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.006117, allocations: 15.77 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.006138, allocations: 4 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.006158, allocations: 37.33 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.006159, allocations: 0 / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000282/0.006441, allocations: 113.4 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.00647, allocations: 81.11 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.007667, allocations: 203.7 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.0077, allocations: 29.7 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.00778, allocations: 138.9 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.007823, allocations: 27.73 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.007878, allocations: 27.38 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.008044, allocations: 0.4961 MB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.008088, allocations: 7.984 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.008166, allocations: 57 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.637e-05/0.008233, allocations: 35.89 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008235, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001416/0.008376, allocations: 61.64 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.008393, allocations: 8.031 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008398, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.008419, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.008535, allocations: 19.98 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.008538, allocations: 0 / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.008586, allocations: 11.88 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.008594, allocations: 4 kB / 382.6 MB, free: 13.99 MB / 362.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 9.01e-05/0.008684, allocations: 160.6 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.008725, allocations: 7.953 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.008905, allocations: 82.44 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.008908, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.00891, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.008914, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.009289, allocations: 317.9 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.00929, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.009368, allocations: 19.98 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.009372, allocations: 0 / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.009379, allocations: 0 / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.009382, allocations: 0 / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.009384, allocations: 3.938 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.009553, allocations: 227.7 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.009573, allocations: 11.95 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.009588, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.009661, allocations: 8 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.009695, allocations: 11.92 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.009701, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.009777, allocations: 153.2 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009777, allocations: 0 / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.01007, allocations: 43.86 kB / 383.6 MB, free: 12.89 MB / 362.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.001285/0.01136, allocations: 485.8 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01148, allocations: 39.59 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01148, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.01152, allocations: 23.67 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.01183, allocations: 32.19 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.01225, allocations: 210.1 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.01231, allocations: 63.34 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.794e-05/0.01238, allocations: 20.64 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.686e-05/0.01248, allocations: 86.19 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01248, allocations: 4 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of Templates: time 0.005187/0.01766, allocations: 2.218 MB / 386.8 MB, free: 9.863 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.9917624657973647]