Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001118/0.001118, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.002853, 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.0009768/0.0009768, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.002279, 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.9673/0.9673, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08519/1.053, allocations: 52.49 MB / 238.4 MB, free: 4.363 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.1288/0.1288, allocations: 32.8 MB / 272 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1255/0.2543, allocations: 12.55 MB / 284.5 MB, free: 11.88 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.81e-07/6.81e-07, allocations: 0 / 285.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.236e-05, allocations: 5.516 kB / 285.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001931/0.001943, allocations: 1.662 MB / 287.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005322/0.002475, allocations: 433 kB / 287.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.002509, allocations: 0 / 287.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.002911, allocations: 497.6 kB / 288.4 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.003143, allocations: 276.4 kB / 288.7 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.003413, allocations: 174.2 kB / 288.9 MB, free: 8.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.003573, allocations: 159.8 kB / 289 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.951e-05/0.003633, allocations: 3.969 kB / 289 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.003751, allocations: 157.9 kB / 289.2 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.003897, allocations: 186.8 kB / 289.4 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.003912, allocations: 1.906 kB / 289.4 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.247e-05/0.003964, allocations: 30.27 kB / 289.4 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.004036, allocations: 80.31 kB / 289.5 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.004066, allocations: 33.44 kB / 289.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.004248, allocations: 181.7 kB / 289.7 MB, free: 8.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.004257, allocations: 0 / 289.7 MB, free: 8.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004258, allocations: 0 / 289.7 MB, free: 8.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.004267, allocations: 1.156 kB / 289.7 MB, free: 8.344 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.0005047/0.004772, allocations: 0.5711 MB / 290.3 MB, free: 7.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.004806, allocations: 22.03 kB / 290.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.004845, allocations: 22.91 kB / 290.3 MB, free: 7.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.005023, allocations: 241.5 kB / 290.5 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.005032, allocations: 5.812 kB / 290.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.00504, allocations: 2.375 kB / 290.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.386e-05/0.005124, allocations: 49.7 kB / 290.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.005131, allocations: 192 / 290.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005137, allocations: 4.125 kB / 290.6 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.005142, allocations: 1.438 kB / 290.6 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.424e-05/0.005156, allocations: 8.219 kB / 290.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.005356, allocations: 195.9 kB / 290.8 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.434e-05/0.00539, allocations: 28.12 kB / 290.8 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.049e-05/0.005401, allocations: 6.234 kB / 290.8 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.005414, allocations: 1.438 kB / 290.8 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.005431, allocations: 35.81 kB / 290.9 MB, free: 7.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.005431, allocations: 0 / 290.9 MB, free: 7.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 8.965e-05/0.005521, allocations: 56.23 kB / 290.9 MB, free: 7.266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.005539, allocations: 52.75 kB / 291 MB, free: 7.203 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.005845, allocations: 0.5253 MB / 291.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.005854, allocations: 33.77 kB / 291.5 MB, free: 6.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.005907, allocations: 139.3 kB / 291.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.005918, allocations: 5.328 kB / 291.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.005938, allocations: 12.47 kB / 291.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.006022, allocations: 360.3 kB / 292 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-06/0.006028, allocations: 1.375 kB / 292 MB, free: 6.387 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.006034, allocations: 1.375 kB / 292 MB, free: 6.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.006055, allocations: 15.81 kB / 292 MB, free: 6.371 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006057, allocations: 0 / 292 MB, free: 6.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.067e-05/0.006107, allocations: 60.92 kB / 292.1 MB, free: 6.324 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.006119, allocations: 13.42 kB / 292.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.006122, allocations: 0 / 292.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.006132, allocations: 1.375 kB / 292.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.737e-05/0.00617, allocations: 4.125 kB / 292.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.006172, allocations: 0 / 292.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.006193, allocations: 1.375 kB / 292.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006198, allocations: 1.375 kB / 292.1 MB, free: 6.316 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 (2): * Single equations (assignments): 2 * 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.819e-05/0.006257, allocations: 110 kB / 292.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.00628, allocations: 25.06 kB / 292.3 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.485e-05/0.006355, allocations: 74.88 kB / 292.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006358, allocations: 9.25 kB / 292.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.00636, allocations: 3.984 kB / 292.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.006362, allocations: 0 / 292.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.006474, allocations: 127.3 kB / 292.5 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.006475, allocations: 1.281 kB / 292.5 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.006489, allocations: 3.594 kB / 292.5 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.006513, allocations: 41.22 kB / 292.5 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006515, allocations: 1.312 kB / 292.5 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.006519, allocations: 3.938 kB / 292.5 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.00652, allocations: 32 / 292.5 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006521, allocations: 5.188 kB / 292.5 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.969e-05/0.006591, allocations: 144.2 kB / 292.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.006605, allocations: 2.156 kB / 292.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.287e-05/0.006638, allocations: 3.938 kB / 292.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.00666, allocations: 9.969 kB / 292.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.006662, allocations: 4 kB / 292.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002112/0.006874, allocations: 281.9 kB / 293 MB, free: 5.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006874, allocations: 0 / 293 MB, free: 5.715 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.007005, allocations: 22.44 kB / 293 MB, free: 5.707 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 (2): * Single equations (assignments): 2 * 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.001113/0.008118, allocations: 478.6 kB / 293.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.364e-05/0.008172, allocations: 10.64 kB / 293.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.008183, allocations: 5.344 kB / 293.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.008205, allocations: 13.14 kB / 293.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.00841, allocations: 103.5 kB / 293.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.009055, allocations: 0.5629 MB / 294.1 MB, free: 4.926 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.804e-05/0.009123, allocations: 119.2 kB / 294.3 MB, free: 4.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.947e-05/0.009143, allocations: 4 kB / 294.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.00919, allocations: 55.38 kB / 294.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009191, allocations: 0 / 294.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of Templates: time 0.003199/0.01239, allocations: 1.243 MB / 295.6 MB, free: 3.496 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.814823519438505]