Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001043/0.001043, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001314/0.001314, allocations: 173.6 kB / 24.91 MB, free: 8.77 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.9981/0.9981, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2428/0.2428, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.406e-05, allocations: 2.969 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002253/0.002277, allocations: 1.687 MB / 324.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007811/0.003058, allocations: 0.5491 MB / 325.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.003124, allocations: 3.938 kB / 325.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.003393, allocations: 103.6 kB / 325.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.003673, allocations: 107.5 kB / 325.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.003952, allocations: 119.7 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004109, allocations: 107.7 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.004202, allocations: 19.97 kB / 325.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.004279, allocations: 59.83 kB / 326 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.004363, allocations: 51.88 kB / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.004377, allocations: 4 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.004456, allocations: 43.91 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.0045, allocations: 27.92 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.004531, allocations: 31.84 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.00469, allocations: 111.5 kB / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.004693, allocations: 0 / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.004695, allocations: 0 / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.004699, allocations: 3.938 kB / 326.3 MB, free: 6.668 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003339/0.005032, allocations: 334 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.005063, allocations: 8.031 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.005096, allocations: 16.92 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.005234, allocations: 149.5 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.005244, allocations: 4.375 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.005269, allocations: 8.375 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.005369, allocations: 70.92 kB / 326.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.005379, allocations: 8.188 kB / 326.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.005388, allocations: 4.125 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.005392, allocations: 0 / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/0.005421, allocations: 18.11 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.005679, allocations: 206.9 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.807e-05/0.005737, allocations: 42.56 kB / 327.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.005755, allocations: 12.8 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.005774, allocations: 4 kB / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.005796, allocations: 30.72 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.005797, allocations: 4 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004903/0.006287, allocations: 213.3 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.006316, allocations: 55.41 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.006432, allocations: 193.1 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.006443, allocations: 25.7 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.006478, allocations: 108 kB / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.006508, allocations: 39.66 kB / 327.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.006542, allocations: 29.69 kB / 327.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.006622, allocations: 334.7 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.00664, allocations: 11.98 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.006658, allocations: 11.94 kB / 328.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/0.006707, allocations: 40.28 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006708, allocations: 4 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.611e-05/0.006784, allocations: 66.17 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.006795, allocations: 4 kB / 328.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006799, allocations: 0 / 328.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.006813, allocations: 7.984 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.006887, allocations: 27.92 kB / 328.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006889, allocations: 4 kB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.00691, allocations: 4 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-06/0.006915, allocations: 0 / 328.3 MB, free: 4.449 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 (13): * Single equations (assignments): 13 * 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.835e-05/0.006973, allocations: 124.6 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.006994, allocations: 15.98 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.00713, allocations: 113.1 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.007132, allocations: 0 / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007133, allocations: 0 / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.007135, allocations: 0 / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.007402, allocations: 296.2 kB / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007403, allocations: 0 / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.00745, allocations: 19.98 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007452, allocations: 4 kB / 328.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.007459, allocations: 4 kB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.00746, allocations: 0 / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.007464, allocations: 11.92 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.007569, allocations: 179.1 kB / 329.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.00758, allocations: 15.89 kB / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.007591, allocations: 4 kB / 329.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.007626, allocations: 8.031 kB / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.007652, allocations: 15.92 kB / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.007656, allocations: 0 / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.007702, allocations: 65.55 kB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007702, allocations: 0 / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.007846, allocations: 27.98 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001209/0.009055, allocations: 0.5859 MB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.009163, allocations: 48.66 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.009167, allocations: 0 / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.009198, allocations: 36.77 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.009357, allocations: 19.98 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.009709, allocations: 278.4 kB / 330.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.548e-05/0.009764, allocations: 75.33 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.009807, allocations: 20.47 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.009865, allocations: 67.36 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009866, allocations: 0 / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of Templates: time 0.0034/0.01327, allocations: 1.756 MB / 332.1 MB, free: 0.8867 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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: 2.9945874023251235]