Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0007506/0.0007506, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.001968, 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.001074/0.001074, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002673, 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.866/0.866, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1796/1.046, allocations: 52.48 MB / 238.5 MB, free: 7.633 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.123/0.123, allocations: 32.81 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02068/0.1437, allocations: 12.54 MB / 284.5 MB, free: 9.723 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.Test4,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 7.875 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.767e-06/9.989e-06, allocations: 6.312 kB / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001783/0.001793, allocations: 1.691 MB / 287.6 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004756/0.002268, allocations: 430.9 kB / 288 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.002313, allocations: 3.938 kB / 288 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.002484, allocations: 95.61 kB / 288.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.002588, allocations: 67.73 kB / 288.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.002763, allocations: 99.62 kB / 288.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.002881, allocations: 87.75 kB / 288.3 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.718e-05/0.002958, allocations: 19.92 kB / 288.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.003046, allocations: 67.88 kB / 288.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.003123, allocations: 51.88 kB / 288.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.003136, allocations: 8 kB / 288.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.003204, allocations: 43.86 kB / 288.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.003243, allocations: 27.88 kB / 288.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.003265, allocations: 15.94 kB / 288.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.003391, allocations: 99.53 kB / 288.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.0034, allocations: 4 kB / 288.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.003401, allocations: 0 / 288.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.003408, allocations: 0 / 288.7 MB, free: 5.578 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003268/0.003735, allocations: 335.9 kB / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.003761, allocations: 8.031 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.003789, allocations: 12.92 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.003902, allocations: 157.5 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.003909, allocations: 4.375 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.003927, allocations: 4.375 kB / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.264e-05/0.004009, allocations: 74.81 kB / 289.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.004016, allocations: 192 / 289.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.004022, allocations: 4.125 kB / 289.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.004027, allocations: 4 kB / 289.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.004052, allocations: 15.92 kB / 289.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.004261, allocations: 203 kB / 289.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.322e-05/0.004314, allocations: 42.5 kB / 289.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.004329, allocations: 16.86 kB / 289.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.004347, allocations: 3.938 kB / 289.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.004366, allocations: 34.56 kB / 289.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 6.71e-07/0.004367, allocations: 0 / 289.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004487/0.004816, allocations: 205.9 kB / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.00484, allocations: 51.41 kB / 289.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.004943, allocations: 188.2 kB / 290 MB, free: 4.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.004953, allocations: 29.7 kB / 290 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.004985, allocations: 104 kB / 290.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.005014, allocations: 47.58 kB / 290.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.005042, allocations: 25.72 kB / 290.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.005114, allocations: 330.8 kB / 290.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.005129, allocations: 15.92 kB / 290.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.005143, allocations: 11.38 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.889e-05/0.005182, allocations: 40.81 kB / 290.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005184, allocations: 4 kB / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.33e-05/0.005248, allocations: 69.61 kB / 290.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/0.005257, allocations: 4 kB / 290.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.005261, allocations: 4 kB / 290.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.005271, allocations: 0 / 290.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/0.00534, allocations: 31.97 kB / 290.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.005343, allocations: 0 / 290.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.005361, allocations: 8 kB / 290.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005365, allocations: 0 / 290.7 MB, free: 3.371 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 (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 5.483e-05/0.00542, allocations: 128.5 kB / 290.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.005438, allocations: 11.98 kB / 290.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.005548, allocations: 91.12 kB / 290.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.005551, allocations: 3.984 kB / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.005553, allocations: 8 kB / 291 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005556, allocations: 0 / 291 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.0058, allocations: 295.3 kB / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.005802, allocations: 0 / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.005847, allocations: 23.98 kB / 291.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.005857, allocations: 11.91 kB / 291.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.005861, allocations: 4 kB / 291.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.005867, allocations: 4 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.00587, allocations: 7.875 kB / 291.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.005871, allocations: 4.031 kB / 291.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.465e-05/0.005966, allocations: 183.8 kB / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.005977, allocations: 4 kB / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.006009, allocations: 4 kB / 291.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.006035, allocations: 11.92 kB / 291.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.00604, allocations: 4 kB / 291.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.098e-05/0.006081, allocations: 60.64 kB / 291.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006081, allocations: 0 / 291.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001319/0.006213, allocations: 23.98 kB / 291.6 MB, free: 2.445 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 (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.001173/0.007387, allocations: 0.6336 MB / 292.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.499e-05/0.007472, allocations: 52.72 kB / 292.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.007476, allocations: 0 / 292.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.007514, allocations: 44.83 kB / 292.3 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.007689, allocations: 87.38 kB / 292.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.008081, allocations: 264 kB / 292.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.808e-05/0.008119, allocations: 71.33 kB / 292.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.752e-05/0.008156, allocations: 20.48 kB / 292.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.00821, allocations: 75.39 kB / 292.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008211, allocations: 0 / 292.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of Templates: time 0.002851/0.01106, allocations: 1.677 MB / 294.5 MB, free: 15.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.6600691471248865]