Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0009461/0.0009461, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001168/0.001168, allocations: 169 kB / 24.25 MB, free: 308 kB / 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.219/1.219, allocations: 158.6 MB / 186 MB, free: 2.492 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.1597/0.1597, allocations: 32.37 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.803e-05/4.045e-05, allocations: 8.219 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002772/0.002812, allocations: 1.641 MB / 349.3 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000684/0.003496, allocations: 351.2 kB / 349.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.003592, allocations: 0 / 349.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.00414, allocations: 451.1 kB / 350.1 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.004468, allocations: 263.4 kB / 350.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.004851, allocations: 147.6 kB / 350.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.005104, allocations: 167.7 kB / 350.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.005242, allocations: 12.19 kB / 350.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.00536, allocations: 115.8 kB / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.005558, allocations: 239.6 kB / 351 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.005583, allocations: 4 kB / 351 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.005674, allocations: 35.86 kB / 351.1 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.005788, allocations: 87.69 kB / 351.1 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.00584, allocations: 43.69 kB / 351.2 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.006077, allocations: 191.2 kB / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.006082, allocations: 0 / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006084, allocations: 0 / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.006091, allocations: 0 / 351.4 MB, free: 6.043 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.0005544/0.006645, allocations: 0.6815 MB / 352.1 MB, free: 5.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.006707, allocations: 15.97 kB / 352.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.006784, allocations: 48.61 kB / 352.1 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.00698, allocations: 240.9 kB / 352.4 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.006993, allocations: 384 / 352.4 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.00702, allocations: 4.375 kB / 352.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.007163, allocations: 62.94 kB / 352.4 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.007174, allocations: 192 / 352.4 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.007186, allocations: 7.938 kB / 352.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.007195, allocations: 0 / 352.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.007235, allocations: 15.92 kB / 352.4 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.007671, allocations: 423.6 kB / 352.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.0079, allocations: 43 kB / 352.9 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.007928, allocations: 15.77 kB / 352.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.007953, allocations: 0 / 352.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.007975, allocations: 49.33 kB / 353 MB, free: 4.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.007978, allocations: 3.984 kB / 353 MB, free: 4.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004811/0.008459, allocations: 180.7 kB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.008487, allocations: 51.41 kB / 353.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.008852, allocations: 0.6238 MB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.008862, allocations: 29.7 kB / 353.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.008975, allocations: 278.8 kB / 354.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.009001, allocations: 19.83 kB / 354.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.47e-05/0.009036, allocations: 23.38 kB / 354.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.009145, allocations: 0.5547 MB / 354.7 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.00917, allocations: 7.984 kB / 354.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.009187, allocations: 8 kB / 354.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.00923, allocations: 23.88 kB / 354.8 MB, free: 2.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.009231, allocations: 0 / 354.8 MB, free: 2.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001098/0.009341, allocations: 101.3 kB / 354.9 MB, free: 2.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.009359, allocations: 4 kB / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.009366, allocations: 0 / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.009384, allocations: 0 / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.009442, allocations: 11.98 kB / 354.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.009452, allocations: 0 / 354.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.009483, allocations: 4 kB / 354.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.00949, allocations: 4 kB / 354.9 MB, free: 2.328 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 (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 8.483e-05/0.009574, allocations: 164.5 kB / 355 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.009607, allocations: 43.72 kB / 355.1 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.009782, allocations: 97.12 kB / 355.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.009785, allocations: 0 / 355.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.00979, allocations: 0 / 355.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.009795, allocations: 0 / 355.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.01011, allocations: 465.3 kB / 355.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.01011, allocations: 0 / 355.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.01015, allocations: 15.98 kB / 355.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01015, allocations: 7.938 kB / 355.7 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.01016, allocations: 0 / 355.7 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.01016, allocations: 3.938 kB / 355.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01016, allocations: 0 / 355.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.01027, allocations: 247.9 kB / 355.9 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.01029, allocations: 35.72 kB / 355.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.01031, allocations: 0 / 355.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-05/0.01035, allocations: 4 kB / 355.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.01039, allocations: 7.984 kB / 355.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.0104, allocations: 0 / 355.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.0106, allocations: 430.8 kB / 356.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.0106, allocations: 0 / 356.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.01078, allocations: 23.94 kB / 356.4 MB, free: 0.7383 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.0008844/0.01166, allocations: 385.1 kB / 356.8 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.01181, allocations: 27.62 kB / 356.8 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.01182, allocations: 0 / 356.8 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.01184, allocations: 19.67 kB / 356.8 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.01218, allocations: 31.14 kB / 356.8 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000903/0.01308, allocations: 0.5704 MB / 357.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.01319, allocations: 123.2 kB / 357.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.536e-05/0.01325, allocations: 11.98 kB / 357.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.01329, allocations: 16.5 kB / 357.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of SimCode: time 1.733e-06/0.01329, allocations: 0 / 357.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of Templates: time 0.004951/0.01824, allocations: 1.381 MB / 358.9 MB, free: 14.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.5469452240504324]