Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001363/0.001363, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001318/0.001318, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.397/1.397, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2128/0.2128, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.896e-05, allocations: 6.219 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002994/0.003023, allocations: 1.611 MB / 441.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.0041, allocations: 0.5298 MB / 442.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.004151, allocations: 4 kB / 442.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.004448, allocations: 131.5 kB / 442.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.004771, allocations: 123.5 kB / 442.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.00507, allocations: 114.7 kB / 442.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.00526, allocations: 95.78 kB / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.005353, allocations: 12 kB / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.005449, allocations: 67.8 kB / 442.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.005593, allocations: 83.83 kB / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.005614, allocations: 4 kB / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.651e-05/0.00571, allocations: 47.91 kB / 442.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.005774, allocations: 31.86 kB / 443 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.005807, allocations: 11.94 kB / 443 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.006008, allocations: 123.5 kB / 443.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.006012, allocations: 4 kB / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006013, allocations: 0 / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.006021, allocations: 4 kB / 443.1 MB, free: 5.152 MB / 366.1 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.0005166/0.006538, allocations: 353.5 kB / 443.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.006579, allocations: 19.95 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.00662, allocations: 12.84 kB / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.006831, allocations: 153.2 kB / 443.6 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.006843, allocations: 4.375 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.00687, allocations: 8.312 kB / 443.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.007019, allocations: 62.16 kB / 443.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.00703, allocations: 192 / 443.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.007045, allocations: 8.125 kB / 443.7 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.007049, allocations: 4 kB / 443.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.007147, allocations: 27.97 kB / 443.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.00755, allocations: 248.4 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.007668, allocations: 42.56 kB / 444 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.007728, allocations: 28.88 kB / 444 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.00775, allocations: 4 kB / 444 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.007772, allocations: 30.56 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.007773, allocations: 3.938 kB / 444.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009242/0.008698, allocations: 253.6 kB / 444.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.008741, allocations: 51.41 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.009025, allocations: 271.9 kB / 444.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.009043, allocations: 25.7 kB / 444.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.009121, allocations: 116.1 kB / 444.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.00916, allocations: 35.73 kB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.009201, allocations: 21.72 kB / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.009366, allocations: 334.8 kB / 445.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.00945, allocations: 27.98 kB / 445.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.009529, allocations: 27.97 kB / 445.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.009714, allocations: 68.83 kB / 445.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.009715, allocations: 4 kB / 445.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002507/0.009966, allocations: 125.5 kB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.009979, allocations: 4 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.009984, allocations: 3.984 kB / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.009997, allocations: 0 / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.01009, allocations: 16 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.0101, allocations: 0 / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.01015, allocations: 7.984 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.01015, allocations: 0 / 445.4 MB, free: 2.621 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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 0.0001251/0.01028, allocations: 143.7 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.01032, allocations: 23.83 kB / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.01063, allocations: 143.3 kB / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01063, allocations: 0 / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01064, allocations: 0 / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01064, allocations: 0 / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.01117, allocations: 370.9 kB / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01117, allocations: 0 / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.01125, allocations: 20.03 kB / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01125, allocations: 0 / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.01126, allocations: 7.922 kB / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01126, allocations: 0 / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.01127, allocations: 4 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.01156, allocations: 220.1 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.01158, allocations: 11.95 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.0116, allocations: 4 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.01168, allocations: 11.98 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.01172, allocations: 11.92 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01173, allocations: 4 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.01192, allocations: 208.1 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01192, allocations: 0 / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.01218, allocations: 31.88 kB / 446.6 MB, free: 1.352 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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.001826/0.014, allocations: 488.8 kB / 447.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.01424, allocations: 67.89 kB / 447.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01424, allocations: 0 / 447.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.01435, allocations: 43.91 kB / 447.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.01465, allocations: 22.52 kB / 447.2 MB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.01523, allocations: 327.5 kB / 447.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.01534, allocations: 105.1 kB / 447.7 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.01541, allocations: 25 kB / 447.7 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.01544, allocations: 16.5 kB / 447.7 MB, free: 452 kB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01544, allocations: 4 kB / 447.7 MB, free: 448 kB / 366.1 MB Notification: Performance of Templates: time 0.1643/0.1797, allocations: 1.411 MB / 449.1 MB, free: 21.35 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.560973394662142]