Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004349/0.004349, allocations: 163.3 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.059/1.059, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2963/0.2963, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.274e-05, allocations: 2.312 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002462/0.002485, allocations: 1.735 MB / 327.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.00331, allocations: 0.5602 MB / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.003367, allocations: 0 / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.003645, allocations: 95.67 kB / 328.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.003889, allocations: 111.5 kB / 328.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.004157, allocations: 119.6 kB / 328.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.00431, allocations: 107.7 kB / 328.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004412, allocations: 19.97 kB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.004484, allocations: 55.88 kB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.004573, allocations: 51.88 kB / 328.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.004588, allocations: 4 kB / 328.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.004669, allocations: 51.91 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.004711, allocations: 23.92 kB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.004738, allocations: 23.86 kB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.00489, allocations: 119.5 kB / 329 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004891, allocations: 0 / 329 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004892, allocations: 4 kB / 329 MB, free: 4.008 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004896, allocations: 0 / 329 MB, free: 4.008 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.0003229/0.005219, allocations: 330.2 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.005254, allocations: 8.031 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.005285, allocations: 16.92 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.005426, allocations: 145.6 kB / 329.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.005435, allocations: 4.375 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.005456, allocations: 8.312 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.974e-05/0.005556, allocations: 78.94 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.005566, allocations: 192 / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.005573, allocations: 4.359 kB / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005578, allocations: 384 / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.005605, allocations: 15.94 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.005861, allocations: 206.9 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.005916, allocations: 42.55 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.005937, allocations: 20.84 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.005953, allocations: 0 / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.005973, allocations: 34.5 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 6.61e-07/0.005973, allocations: 11.94 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004865/0.00646, allocations: 194.9 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.006485, allocations: 51.41 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.006612, allocations: 193.2 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.006624, allocations: 25.7 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.006659, allocations: 108 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.00669, allocations: 43.62 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.006728, allocations: 29.72 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.006807, allocations: 330.8 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.006826, allocations: 8 kB / 330.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.006845, allocations: 19.98 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.006898, allocations: 50.91 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006899, allocations: 0 / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.169e-05/0.006981, allocations: 69.66 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006993, allocations: 8 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.006997, allocations: 0 / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.007009, allocations: 0 / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.007082, allocations: 23.98 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.007084, allocations: 4.234 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.007106, allocations: 8 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.007114, allocations: 3.984 kB / 331.1 MB, free: 1.789 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 6.816e-05/0.007182, allocations: 128.5 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.007205, allocations: 8 kB / 331.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.007345, allocations: 99.09 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.007348, allocations: 4 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.007349, allocations: 0 / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007353, allocations: 3.984 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.00764, allocations: 300.3 kB / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.007644, allocations: 4 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.007696, allocations: 19.98 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.0077, allocations: 4 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.007706, allocations: 0 / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.007708, allocations: 0 / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007709, allocations: 0 / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.007824, allocations: 193.7 kB / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.007835, allocations: 11.91 kB / 331.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.007848, allocations: 4 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.007884, allocations: 12.02 kB / 331.9 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.007911, allocations: 7.984 kB / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.007919, allocations: 7.938 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.97e-05/0.007969, allocations: 69.55 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007969, allocations: 0 / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.008123, allocations: 24 kB / 332 MB, free: 0.8359 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.001194/0.009317, allocations: 0.5558 MB / 332.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.009425, allocations: 60.27 kB / 332.6 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.009429, allocations: 0 / 332.6 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.009466, allocations: 36.77 kB / 332.6 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.009638, allocations: 24.14 kB / 332.7 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.009988, allocations: 279.8 kB / 332.9 MB, free: 136 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.558e-05/0.01003, allocations: 75.33 kB / 333 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.099e-05/0.01008, allocations: 20.47 kB / 333 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.01015, allocations: 63.38 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01015, allocations: 3.938 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of Templates: time 0.003422/0.01358, allocations: 1.753 MB / 334.8 MB, free: 14.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0282635441981256]