Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001323, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.636/2.636, allocations: 227.4 MB / 247.1 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4242/0.4242, allocations: 46.11 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002971/0.002972, allocations: 76.78 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1863, allocations: 62.45 MB / 480.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.005679/0.1921, allocations: 1.746 MB / 481.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.1952, allocations: 0.99 MB / 482.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1954, allocations: 0 / 482.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.1959, allocations: 63.8 kB / 483 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006433/0.1966, allocations: 99.72 kB / 483.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1971, allocations: 55.88 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.1974, allocations: 111.6 kB / 483.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.511e-05/0.1975, allocations: 12.22 kB / 483.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.1977, allocations: 51.77 kB / 483.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1979, allocations: 39.84 kB / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.198, allocations: 4 kB / 483.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1981, allocations: 31.97 kB / 483.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.1982, allocations: 19.92 kB / 483.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.1983, allocations: 39.69 kB / 483.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1986, allocations: 80.11 kB / 483.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1986, allocations: 0 / 483.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1986, allocations: 0 / 483.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1986, allocations: 0 / 483.5 MB, free: 2.277 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008656/0.1995, allocations: 418.9 kB / 483.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/0.1996, allocations: 8.031 kB / 483.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/0.1997, allocations: 8.844 kB / 483.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.2001, allocations: 212.8 kB / 484.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2002, allocations: 4.375 kB / 484.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.2002, allocations: 8.125 kB / 484.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2005, allocations: 49.61 kB / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2005, allocations: 0 / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.2005, allocations: 0 / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2005, allocations: 0 / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.2007, allocations: 15.98 kB / 484.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.201, allocations: 181.7 kB / 484.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.2013, allocations: 50.62 kB / 484.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2014, allocations: 24.78 kB / 484.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.2015, allocations: 11.88 kB / 484.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.2018, allocations: 59.39 kB / 484.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.755e-06/0.2019, allocations: 4 kB / 484.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004908/0.2024, allocations: 97.48 kB / 484.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.2024, allocations: 51.41 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.2028, allocations: 194.9 kB / 484.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.2028, allocations: 29.64 kB / 484.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.2029, allocations: 100.1 kB / 485 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.203, allocations: 11.91 kB / 485 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.2031, allocations: 21.7 kB / 485 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2033, allocations: 326.8 kB / 485.3 MB, free: 216 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.2034, allocations: 12 kB / 485.4 MB, free: 204 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2035, allocations: 25.7 kB / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.2038, allocations: 45.7 kB / 485.4 MB, free: 120 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2038, allocations: 0 / 485.4 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002976/0.2041, allocations: 89.38 kB / 485.5 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2041, allocations: 12.03 kB / 485.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2041, allocations: 4.25 kB / 485.5 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2042, allocations: 0 / 485.5 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2043, allocations: 16.05 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2044, allocations: 0 / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.2045, allocations: 4 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2045, allocations: 4 kB / 485.6 MB, free: 15.98 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 (7): * Single equations (assignments): 7 * 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.0001676/0.2047, allocations: 129.6 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.2047, allocations: 11.81 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.2048, allocations: 17 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.2049, allocations: 3.984 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.2049, allocations: 4 kB / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2049, allocations: 0 / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.2052, allocations: 193.5 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2052, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.2052, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2052, allocations: 4 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2053, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2053, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2053, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.2057, allocations: 116.9 kB / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.2058, allocations: 85.02 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.2058, allocations: 3.984 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.2059, allocations: 8 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.206, allocations: 0 / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.206, allocations: 4 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.2063, allocations: 156.7 kB / 486.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.2063, allocations: 4 kB / 486.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004257/0.2067, allocations: 15.98 kB / 486.3 MB, free: 15.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001864/0.2086, allocations: 409.2 kB / 486.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.2089, allocations: 39.92 kB / 486.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2089, allocations: 0 / 486.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.2091, allocations: 19.98 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.2096, allocations: 27.98 kB / 486.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.2104, allocations: 259.6 kB / 487 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.2108, allocations: 0.7049 MB / 487.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.2109, allocations: 15.42 kB / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.211, allocations: 0 / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Templates: time 0.006603/0.2176, allocations: 1.729 MB / 489.5 MB, free: 12.03 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches