Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001662/0.001662, 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.002096/0.002096, 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.32/2.32, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3505/0.3505, allocations: 46.1 MB / 344.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 79.56 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1897, allocations: 62.45 MB / 480 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.005652/0.1954, allocations: 1.777 MB / 481.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.1984, allocations: 1.017 MB / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1986, allocations: 0 / 482.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.1991, allocations: 79.83 kB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005751/0.1998, allocations: 103.6 kB / 482.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.2002, allocations: 59.88 kB / 483 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.2006, allocations: 115.7 kB / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2008, allocations: 4 kB / 483.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.201, allocations: 51.72 kB / 483.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.2012, allocations: 59.75 kB / 483.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.2012, allocations: 0 / 483.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.2014, allocations: 47.97 kB / 483.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2016, allocations: 23.92 kB / 483.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2017, allocations: 39.67 kB / 483.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.202, allocations: 96.03 kB / 483.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.202, allocations: 0 / 483.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2021, allocations: 4 kB / 483.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2021, allocations: 0 / 483.4 MB, free: 2.262 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.001036/0.2031, allocations: 419 kB / 483.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001076/0.2032, allocations: 8.875 kB / 483.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.591e-05/0.2034, allocations: 12.75 kB / 483.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.2038, allocations: 220.6 kB / 484.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2039, allocations: 384 / 484.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.2039, allocations: 12.03 kB / 484.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.2042, allocations: 61.61 kB / 484.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2042, allocations: 0 / 484.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.2043, allocations: 0 / 484.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2043, allocations: 0 / 484.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.2044, allocations: 19.98 kB / 484.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.2051, allocations: 296.9 kB / 484.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.2055, allocations: 54.61 kB / 484.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.2057, allocations: 24.84 kB / 484.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.2057, allocations: 4 kB / 484.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003936/0.2061, allocations: 63.39 kB / 484.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.514e-06/0.2062, allocations: 3.938 kB / 484.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001042/0.2072, allocations: 189 kB / 484.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.2073, allocations: 51.41 kB / 484.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.2077, allocations: 223.5 kB / 485 MB, free: 448 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.2078, allocations: 25.7 kB / 485.1 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2079, allocations: 104.1 kB / 485.2 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.208, allocations: 23.66 kB / 485.2 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.2081, allocations: 37.64 kB / 485.2 MB, free: 240 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.2083, allocations: 326.8 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.2085, allocations: 23.98 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.2086, allocations: 33.66 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.2089, allocations: 57.7 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2089, allocations: 0 / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003761/0.2093, allocations: 109.4 kB / 485.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.2093, allocations: 8 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2093, allocations: 0 / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2094, allocations: 0 / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2096, allocations: 12 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2096, allocations: 4 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.2097, allocations: 7.922 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.2097, allocations: 4 kB / 485.8 MB, free: 15.63 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.0001993/0.2099, allocations: 140.5 kB / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.21, allocations: 11.89 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.2101, allocations: 17.41 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2101, allocations: 0 / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.2101, allocations: 0 / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2102, allocations: 3.938 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.211, allocations: 403.6 kB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.211, allocations: 4 kB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.2111, allocations: 16.03 kB / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2111, allocations: 0 / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.2111, allocations: 7.922 kB / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2112, allocations: 0 / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2112, allocations: 4 kB / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.2116, allocations: 208.4 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.2118, allocations: 92.92 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.2118, allocations: 7.875 kB / 486.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.212, allocations: 4 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.2121, allocations: 11.98 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.2121, allocations: 0 / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.2124, allocations: 169.2 kB / 486.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.2124, allocations: 0 / 486.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005243/0.213, allocations: 28 kB / 486.9 MB, free: 14.42 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.002021/0.215, allocations: 442.9 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.2153, allocations: 63.91 kB / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2153, allocations: 0 / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2155, allocations: 28.05 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.2161, allocations: 27.98 kB / 487.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.2169, allocations: 310.7 kB / 487.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.2174, allocations: 0.7082 MB / 488.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.2175, allocations: 19.44 kB / 488.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2175, allocations: 0 / 488.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of Templates: time 0.007103/0.2246, allocations: 1.99 MB / 490.5 MB, free: 10.95 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches