Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009503/0.0009503, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00343/0.00438, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002027, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9282/0.9282, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1502/1.078, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.1333/0.1333, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03973/0.1731, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.506e-06/9.488e-06, allocations: 2.312 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001804/0.001813, allocations: 1.671 MB / 287.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005/0.002313, allocations: 426.9 kB / 288 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.002349, allocations: 0 / 288 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.002509, allocations: 107.6 kB / 288.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.002617, allocations: 79.64 kB / 288.1 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.002799, allocations: 87.66 kB / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.002916, allocations: 87.73 kB / 288.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.658e-05/0.002983, allocations: 20.11 kB / 288.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.307e-05/0.003066, allocations: 63.89 kB / 288.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.003145, allocations: 51.92 kB / 288.4 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.003157, allocations: 4 kB / 288.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.003225, allocations: 51.8 kB / 288.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.003262, allocations: 19.94 kB / 288.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.003282, allocations: 11.94 kB / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003406, allocations: 91.59 kB / 288.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.003415, allocations: 0 / 288.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003415, allocations: 0 / 288.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.003423, allocations: 0 / 288.6 MB, free: 5.617 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.0003017/0.003725, allocations: 331.9 kB / 288.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.003751, allocations: 12.03 kB / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.003773, allocations: 8.922 kB / 289 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.003884, allocations: 150 kB / 289.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.003891, allocations: 4.375 kB / 289.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.003908, allocations: 4.375 kB / 289.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.11e-05/0.003979, allocations: 50.95 kB / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003986, allocations: 192 / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.003994, allocations: 11.92 kB / 289.2 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.004001, allocations: 8 kB / 289.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.004017, allocations: 4 kB / 289.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.004192, allocations: 186.9 kB / 289.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.435e-05/0.004237, allocations: 26.58 kB / 289.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.004249, allocations: 4.859 kB / 289.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.004267, allocations: 8.078 kB / 289.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.004289, allocations: 34.5 kB / 289.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.00429, allocations: 0 / 289.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003668/0.004657, allocations: 149.4 kB / 289.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.004679, allocations: 55.41 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.004786, allocations: 192.2 kB / 289.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.004794, allocations: 25.7 kB / 289.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.004825, allocations: 100 kB / 290 MB, free: 4.141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.004847, allocations: 31.72 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.004871, allocations: 21.72 kB / 290 MB, free: 4.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.004945, allocations: 326.8 kB / 290.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.004954, allocations: 4 kB / 290.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.004965, allocations: 7.984 kB / 290.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.00499, allocations: 24.84 kB / 290.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004992, allocations: 3.938 kB / 290.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.198e-05/0.005044, allocations: 69.59 kB / 290.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.005054, allocations: 4 kB / 290.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.005056, allocations: 0 / 290.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.005064, allocations: 432 / 290.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.005113, allocations: 20 kB / 290.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.005117, allocations: 3.984 kB / 290.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.005131, allocations: 0 / 290.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.005136, allocations: 4 kB / 290.5 MB, free: 3.605 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 (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 4.853e-05/0.005185, allocations: 116.6 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.005201, allocations: 11.98 kB / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.634e-05/0.005277, allocations: 79.38 kB / 290.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005279, allocations: 0 / 290.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.00528, allocations: 0 / 290.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.005283, allocations: 4 kB / 290.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.005479, allocations: 259.5 kB / 290.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.00548, allocations: 0 / 290.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.005515, allocations: 15.98 kB / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.005522, allocations: 11.91 kB / 291 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005524, allocations: 4 kB / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-06/0.005528, allocations: 0 / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.005531, allocations: 15.95 kB / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005532, allocations: 0 / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.566e-05/0.005617, allocations: 168.3 kB / 291.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.005627, allocations: 0 / 291.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.07e-05/0.005658, allocations: 4 kB / 291.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.005685, allocations: 7.969 kB / 291.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.00569, allocations: 8 kB / 291.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.005734, allocations: 56.7 kB / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005734, allocations: 0 / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.005867, allocations: 20 kB / 291.2 MB, free: 2.777 MB / 282.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 (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.001344/0.00721, allocations: 0.6212 MB / 291.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.343e-05/0.007304, allocations: 32.84 kB / 291.9 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.00731, allocations: 4 kB / 291.9 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.007341, allocations: 32.77 kB / 291.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.007537, allocations: 86.33 kB / 292 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.007931, allocations: 251.3 kB / 292.3 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.007967, allocations: 67.33 kB / 292.3 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.007997, allocations: 16.81 kB / 292.3 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.008047, allocations: 67.36 kB / 292.4 MB, free: 1.855 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008047, allocations: 0 / 292.4 MB, free: 1.855 MB / 282.7 MB Notification: Performance of Templates: time 0.002701/0.01075, allocations: 1.475 MB / 293.9 MB, free: 412 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.64440730959177]