Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.000754/0.000754, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001784, 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.0006956/0.0006956, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008376/0.001533, 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.9944/0.9944, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2167/1.211, allocations: 49.49 MB / 220.5 MB, free: 5.281 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.1258/0.1258, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02539/0.1512, allocations: 12.3 MB / 265.9 MB, free: 7.836 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.249e-05, allocations: 6.25 kB / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002202/0.002225, allocations: 1.681 MB / 268.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004751/0.0027, allocations: 343.2 kB / 269.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.00275, allocations: 0 / 269.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.003187, allocations: 491 kB / 269.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.003457, allocations: 275.3 kB / 270 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.003706, allocations: 107.7 kB / 270.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.00389, allocations: 147.7 kB / 270.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.003981, allocations: 20.09 kB / 270.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.004139, allocations: 155.7 kB / 270.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.004318, allocations: 191.8 kB / 270.6 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.004338, allocations: 7.938 kB / 270.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.004415, allocations: 35.86 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.004516, allocations: 79.72 kB / 270.7 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.004561, allocations: 31.75 kB / 270.7 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.004789, allocations: 183.2 kB / 270.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.745e-05/0.004806, allocations: 0 / 270.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004807, allocations: 0 / 270.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.004826, allocations: 0 / 270.9 MB, free: 2.793 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.0006343/0.00546, allocations: 0.5837 MB / 271.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.005494, allocations: 8.031 kB / 271.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.005547, allocations: 28.91 kB / 271.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.005756, allocations: 242 kB / 271.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.005768, allocations: 4.375 kB / 271.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.005787, allocations: 384 / 271.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.005894, allocations: 54.95 kB / 271.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.005905, allocations: 8.172 kB / 271.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.005914, allocations: 3.938 kB / 271.9 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.005919, allocations: 0 / 271.9 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.005946, allocations: 11.92 kB / 271.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.006169, allocations: 164.2 kB / 272 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.006333, allocations: 34.56 kB / 272.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.006348, allocations: 8.859 kB / 272.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.006371, allocations: 7.938 kB / 272.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.006404, allocations: 38.58 kB / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.006406, allocations: 0 / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000304/0.00671, allocations: 97.86 kB / 272.2 MB, free: 1.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.006747, allocations: 55.41 kB / 272.3 MB, free: 1.344 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.007096, allocations: 0.5166 MB / 272.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.007106, allocations: 25.7 kB / 272.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.007167, allocations: 141.3 kB / 272.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.00719, allocations: 23.83 kB / 273 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.007218, allocations: 17.72 kB / 273 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.007329, allocations: 354.7 kB / 273.3 MB, free: 244 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.00734, allocations: 4 kB / 273.3 MB, free: 240 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.007352, allocations: 8.172 kB / 273.3 MB, free: 232 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.00738, allocations: 16.86 kB / 273.4 MB, free: 212 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007381, allocations: 0 / 273.4 MB, free: 212 kB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.26e-05/0.007464, allocations: 77.52 kB / 273.4 MB, free: 128 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.007476, allocations: 8 kB / 273.4 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.007482, allocations: 0 / 273.4 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.007492, allocations: 0 / 273.4 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.007539, allocations: 15.98 kB / 273.5 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.007542, allocations: 0 / 273.5 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.007562, allocations: 4 kB / 273.5 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.007566, allocations: 0 / 273.5 MB, free: 100 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 (5): * Single equations (assignments): 5 * 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.829e-05/0.007645, allocations: 112.7 kB / 273.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.007669, allocations: 23.91 kB / 273.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.007773, allocations: 89.06 kB / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007775, allocations: 4 kB / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007777, allocations: 0 / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.00778, allocations: 4 kB / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.008026, allocations: 266.6 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.008028, allocations: 0 / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.008057, allocations: 16.17 kB / 274 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.008078, allocations: 27.77 kB / 274 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.008082, allocations: 7.938 kB / 274 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.008087, allocations: 4 kB / 274 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008087, allocations: 0 / 274 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.008088, allocations: 3.938 kB / 274 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.738e-05/0.008175, allocations: 167.4 kB / 274.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.008189, allocations: 0 / 274.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.37e-05/0.008223, allocations: 4 kB / 274.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.008251, allocations: 7.984 kB / 274.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.008254, allocations: 0 / 274.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.008445, allocations: 279.2 kB / 274.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008445, allocations: 0 / 274.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.008587, allocations: 23.95 kB / 274.5 MB, free: 15.02 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 (5): * Single equations (assignments): 5 * 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.001071/0.009658, allocations: 0.5387 MB / 275 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.932e-05/0.009737, allocations: 36.77 kB / 275.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.009746, allocations: 4 kB / 275.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.009761, allocations: 12.86 kB / 275.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.009971, allocations: 41.89 kB / 275.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.01071, allocations: 0.5665 MB / 275.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.01079, allocations: 119.2 kB / 275.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.645e-05/0.01082, allocations: 11.97 kB / 275.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.01088, allocations: 59.31 kB / 275.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01088, allocations: 4 kB / 275.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of Templates: time 0.003773/0.01465, allocations: 1.44 MB / 277.3 MB, free: 12.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.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.7855429481714964]