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.001238/0.001238, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001037/0.001037, allocations: 169 kB / 23.8 MB, free: 0.7773 MB / 18.57 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 1.016/1.016, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.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.1423/0.1423, allocations: 32.38 MB / 270.4 MB, free: 14.7 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 8.82e-07/8.82e-07, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.218e-05, allocations: 10.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.001751/0.001764, allocations: 1.655 MB / 349.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000404/0.002168, allocations: 323.3 kB / 349.7 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.002196, allocations: 0 / 349.7 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.002494, allocations: 455 kB / 350.1 MB, free: 7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.002678, allocations: 255.4 kB / 350.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.002823, allocations: 107.7 kB / 350.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.00294, allocations: 171.6 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.002999, allocations: 16.17 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.003074, allocations: 119.8 kB / 350.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.003207, allocations: 235.7 kB / 351 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.003221, allocations: 4 kB / 351 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-05/0.003268, allocations: 27.98 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.003329, allocations: 83.66 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.003354, allocations: 43.72 kB / 351.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003491, allocations: 195.1 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003493, allocations: 4 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003493, allocations: 4 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.003497, allocations: 0 / 351.3 MB, free: 5.758 MB / 282.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.0003046/0.003802, allocations: 0.6815 MB / 352 MB, free: 5.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.003831, allocations: 8.031 kB / 352 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.003867, allocations: 48.61 kB / 352.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.003968, allocations: 241 kB / 352.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.003974, allocations: 12.31 kB / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.003988, allocations: 384 / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.973e-05/0.004057, allocations: 62.94 kB / 352.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004064, allocations: 4.188 kB / 352.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.00407, allocations: 3.938 kB / 352.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.004074, allocations: 4 kB / 352.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.004099, allocations: 4 kB / 352.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.004335, allocations: 431.6 kB / 352.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.004387, allocations: 42.94 kB / 352.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.004403, allocations: 19.7 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.004416, allocations: 4 kB / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.568e-06/0.004425, allocations: 33.39 kB / 352.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.004426, allocations: 4 kB / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002864/0.004713, allocations: 204.9 kB / 353.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.488e-05/0.004727, allocations: 51.41 kB / 353.2 MB, free: 3.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.005004, allocations: 0.6238 MB / 353.8 MB, free: 3.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.005009, allocations: 25.7 kB / 353.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.005101, allocations: 286.7 kB / 354.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.005116, allocations: 15.86 kB / 354.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.00514, allocations: 31.36 kB / 354.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.005218, allocations: 0.5508 MB / 354.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.005258, allocations: 11.92 kB / 354.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/0.005276, allocations: 16 kB / 354.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.005316, allocations: 27.75 kB / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.005317, allocations: 0 / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.91e-05/0.005396, allocations: 105.7 kB / 354.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.005404, allocations: 8 kB / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.005408, allocations: 3.984 kB / 354.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.005417, allocations: 0 / 354.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.005481, allocations: 19.92 kB / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.005484, allocations: 0 / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.005511, allocations: 7.984 kB / 354.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.005516, allocations: 8 kB / 354.9 MB, free: 1.98 MB / 282.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 4.619e-05/0.005562, allocations: 160.5 kB / 355.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.00559, allocations: 47.67 kB / 355.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-05/0.005685, allocations: 109.5 kB / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005687, allocations: 0 / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.00569, allocations: 0 / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005693, allocations: 0 / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.005935, allocations: 485.2 kB / 355.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005935, allocations: 0 / 355.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.005966, allocations: 16 kB / 355.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.005968, allocations: 0 / 355.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.005975, allocations: 15.92 kB / 355.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.005976, allocations: 0 / 355.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005976, allocations: 0 / 355.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.057e-05/0.006057, allocations: 251.5 kB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.006074, allocations: 35.72 kB / 356 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.006087, allocations: 0 / 356 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.006125, allocations: 4 kB / 356 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.006156, allocations: 11.98 kB / 356 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.006159, allocations: 0 / 356 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.006336, allocations: 430.8 kB / 356.4 MB, free: 380 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006336, allocations: 0 / 356.4 MB, free: 380 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.006484, allocations: 27.94 kB / 356.5 MB, free: 352 kB / 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.0006257/0.00711, allocations: 368.5 kB / 356.8 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.629e-05/0.007186, allocations: 39.61 kB / 356.9 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.007187, allocations: 0 / 356.9 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.00721, allocations: 23.83 kB / 356.9 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.007419, allocations: 35.3 kB / 356.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.007938, allocations: 0.5824 MB / 357.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.585e-05/0.008003, allocations: 123.2 kB / 357.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.626e-05/0.00803, allocations: 12 kB / 357.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.008056, allocations: 20.48 kB / 357.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008056, allocations: 0 / 357.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Templates: time 0.003525/0.01158, allocations: 1.573 MB / 359.2 MB, free: 13.62 MB / 298.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 -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: 3.1796054621227086]