Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0008139/0.0008139, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007582/0.0007582, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009674/0.001726, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.08/1.08, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09542/1.176, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2433/0.2433, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02612/0.2694, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.561e-05, allocations: 6.141 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002732/0.002748, allocations: 1.679 MB / 294.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000936/0.003684, allocations: 0.553 MB / 295.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.003745, allocations: 4 kB / 295.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.00389, allocations: 31.72 kB / 295.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.004103, allocations: 75.56 kB / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.004407, allocations: 111.5 kB / 295.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.004558, allocations: 67.78 kB / 295.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.004647, allocations: 15.97 kB / 295.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.004759, allocations: 47.91 kB / 295.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.004821, allocations: 19.92 kB / 295.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.004835, allocations: 4 kB / 295.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.504e-05/0.00492, allocations: 35.86 kB / 295.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.004962, allocations: 11.94 kB / 295.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.004986, allocations: 7.938 kB / 295.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.005141, allocations: 67.75 kB / 295.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.005152, allocations: 0 / 295.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005153, allocations: 0 / 295.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.005163, allocations: 0 / 295.6 MB, free: 3.441 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000415/0.005578, allocations: 301.3 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.005612, allocations: 8.031 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.005647, allocations: 4.938 kB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.005813, allocations: 138.2 kB / 296 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.005822, allocations: 384 / 296 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.005845, allocations: 4.375 kB / 296 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.005947, allocations: 54.94 kB / 296.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.005956, allocations: 4.188 kB / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.005965, allocations: 4.125 kB / 296.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005971, allocations: 0 / 296.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.005996, allocations: 7.984 kB / 296.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.006236, allocations: 171.1 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.006378, allocations: 29.41 kB / 296.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.006398, allocations: 8.938 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.006414, allocations: 0 / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.006439, allocations: 34.56 kB / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.00644, allocations: 0 / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000309/0.006749, allocations: 85.7 kB / 296.4 MB, free: 2.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.006781, allocations: 59.41 kB / 296.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.006891, allocations: 140.3 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.006904, allocations: 29.7 kB / 296.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.006942, allocations: 92.11 kB / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.006965, allocations: 19.8 kB / 296.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.006997, allocations: 13.72 kB / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.007091, allocations: 326.8 kB / 297.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.007106, allocations: 7.938 kB / 297.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.007122, allocations: 8.062 kB / 297.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.00716, allocations: 27.66 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007161, allocations: 0 / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.277e-05/0.007234, allocations: 49.62 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.007249, allocations: 7.984 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.007253, allocations: 4.047 kB / 297.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.007267, allocations: 3.984 kB / 297.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.007329, allocations: 19.88 kB / 297.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.007331, allocations: 0 / 297.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.007357, allocations: 7.984 kB / 297.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.007363, allocations: 0 / 297.2 MB, free: 1.641 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 6.192e-05/0.007424, allocations: 112.7 kB / 297.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.007454, allocations: 7.938 kB / 297.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.007566, allocations: 62.12 kB / 297.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007567, allocations: 4 kB / 297.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007569, allocations: 0 / 297.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007573, allocations: 0 / 297.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.007811, allocations: 210.8 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.007814, allocations: 3.938 kB / 297.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.007859, allocations: 16.3 kB / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.007868, allocations: 3.953 kB / 297.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.00787, allocations: 0 / 297.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.007878, allocations: 8 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.007879, allocations: 0 / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00788, allocations: 0 / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.007985, allocations: 159.4 kB / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.007997, allocations: 0 / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.00805, allocations: 4 kB / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.008072, allocations: 0 / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.008076, allocations: 0 / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.379e-05/0.00812, allocations: 42.22 kB / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.00812, allocations: 0 / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.008339, allocations: 15.94 kB / 297.9 MB, free: 0.9414 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.001672/0.01001, allocations: 0.5517 MB / 298.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.149e-05/0.0101, allocations: 24.78 kB / 298.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.01011, allocations: 0 / 298.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.01014, allocations: 20.8 kB / 298.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.01039, allocations: 87.25 kB / 298.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.01087, allocations: 171.2 kB / 298.7 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.01092, allocations: 59.34 kB / 298.8 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.01096, allocations: 12 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.01102, allocations: 63.36 kB / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01102, allocations: 0 / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of Templates: time 0.00325/0.01427, allocations: 1.272 MB / 300.1 MB, free: 14.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.842673591338098]