Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002003/0.002003, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.032/2.032, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3384/0.3384, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002949/0.002949, allocations: 77.5 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1881, allocations: 62.46 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.005408/0.1936, allocations: 1.777 MB / 481.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.197, allocations: 1.013 MB / 482.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1972, allocations: 4 kB / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.1977, allocations: 47.81 kB / 482.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.1983, allocations: 83.73 kB / 482.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.1986, allocations: 59.88 kB / 482.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.199, allocations: 103.7 kB / 483 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1991, allocations: 7.938 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1993, allocations: 39.8 kB / 483.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1995, allocations: 35.77 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.1995, allocations: 4 kB / 483.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1997, allocations: 43.98 kB / 483.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/0.1998, allocations: 19.92 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.2, allocations: 43.67 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.2003, allocations: 92.09 kB / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2003, allocations: 0 / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2003, allocations: 0 / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2003, allocations: 0 / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009104/0.2013, allocations: 422.9 kB / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.2013, allocations: 8.875 kB / 483.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.443e-05/0.2014, allocations: 16.83 kB / 483.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.2018, allocations: 204 kB / 484 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.2019, allocations: 8.375 kB / 484 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.2019, allocations: 8.109 kB / 484 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.2022, allocations: 61.61 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2022, allocations: 4 kB / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2023, allocations: 0 / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2023, allocations: 0 / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2025, allocations: 23.97 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.2031, allocations: 288.9 kB / 484.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.2035, allocations: 62.61 kB / 484.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2036, allocations: 16.86 kB / 484.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.2036, allocations: 4 kB / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.204, allocations: 67.39 kB / 484.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.965e-06/0.204, allocations: 0 / 484.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009883/0.205, allocations: 177 kB / 484.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.2051, allocations: 55.41 kB / 484.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.2055, allocations: 210.9 kB / 484.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.2055, allocations: 25.7 kB / 484.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2057, allocations: 108.1 kB / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.2057, allocations: 27.66 kB / 485.1 MB, free: 372 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.2058, allocations: 21.7 kB / 485.1 MB, free: 344 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.206, allocations: 326.8 kB / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2062, allocations: 20.05 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.2064, allocations: 45.53 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.2066, allocations: 57.7 kB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2067, allocations: 4 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003741/0.2071, allocations: 105.5 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.2071, allocations: 4 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.2071, allocations: 4.062 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2072, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2073, allocations: 16 kB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.2074, allocations: 3.984 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2075, allocations: 7.938 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.2075, allocations: 7.984 kB / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001715/0.2077, allocations: 136.4 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.2078, allocations: 7.906 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.2079, allocations: 25.39 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2079, allocations: 0 / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.2079, allocations: 384 / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2079, allocations: 3.938 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/0.2088, allocations: 403.2 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.2088, allocations: 4 kB / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.2089, allocations: 8 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2089, allocations: 0 / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.209, allocations: 7.938 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.209, allocations: 0 / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.209, allocations: 0 / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.2095, allocations: 204.3 kB / 486.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.2096, allocations: 92.91 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.2096, allocations: 7.938 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.2098, allocations: 0 / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.2099, allocations: 11.98 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.2099, allocations: 4 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.2102, allocations: 152.3 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2102, allocations: 0 / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005611/0.2108, allocations: 24.19 kB / 486.8 MB, free: 14.54 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002067/0.2129, allocations: 454.9 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.2133, allocations: 55.92 kB / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2133, allocations: 64 / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2135, allocations: 39.91 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/0.2141, allocations: 27.92 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.2151, allocations: 298.4 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.2156, allocations: 0.7124 MB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.2157, allocations: 15.44 kB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2158, allocations: 0 / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.007428/0.2232, allocations: 1.954 MB / 490.3 MB, free: 11.1 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches