Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00195/0.00195, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002152/0.002152, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.404/2.404, allocations: 227.4 MB / 246.9 MB, free: 8.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3804/0.3804, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 75.72 kB / 417.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1864, allocations: 62.45 MB / 479.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.006628/0.1931, allocations: 2.307 MB / 482.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003945/0.1971, allocations: 1.317 MB / 483.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.1975, allocations: 7.938 kB / 483.6 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000708/0.1983, allocations: 107.5 kB / 483.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009721/0.1993, allocations: 207.3 kB / 483.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.2001, allocations: 163.7 kB / 484 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.2012, allocations: 434.6 kB / 484.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.2015, allocations: 65.06 kB / 484.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000627/0.2021, allocations: 255 kB / 484.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.2025, allocations: 155.1 kB / 484.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.862e-05/0.2026, allocations: 12 kB / 484.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.2029, allocations: 63.97 kB / 485 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.2032, allocations: 135.4 kB / 485.1 MB, free: 440 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.2034, allocations: 178.5 kB / 485.3 MB, free: 260 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.2041, allocations: 315.8 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2041, allocations: 4 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2041, allocations: 0 / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.2041, allocations: 0 / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002023/0.2062, allocations: 0.8204 MB / 486.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.2062, allocations: 9.953 kB / 486.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.2065, allocations: 60.19 kB / 486.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008916/0.2074, allocations: 416.5 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.2074, allocations: 16.38 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.2075, allocations: 20.03 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.2082, allocations: 201.4 kB / 487.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.2083, allocations: 4 kB / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.2083, allocations: 4 kB / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2083, allocations: 4 kB / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.2087, allocations: 95.86 kB / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2105, allocations: 0.7977 MB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2116, allocations: 254.4 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.2119, allocations: 91.52 kB / 488.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.212, allocations: 8 kB / 488.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007025/0.2127, allocations: 198.2 kB / 488.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 5.06e-06/0.2127, allocations: 0 / 488.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.004458/0.2172, allocations: 1.125 MB / 489.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.2174, allocations: 136.5 kB / 489.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.219, allocations: 0.7931 MB / 490.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.2191, allocations: 37.69 kB / 490.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.2194, allocations: 240.9 kB / 490.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.2196, allocations: 138.1 kB / 491.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.2198, allocations: 82.03 kB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.2201, allocations: 378.8 kB / 491.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.2205, allocations: 116.8 kB / 491.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.2211, allocations: 183.2 kB / 491.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2221, allocations: 318.9 kB / 492.1 MB, free: 9.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2221, allocations: 0 / 492.1 MB, free: 9.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001401/0.2235, allocations: 432.7 kB / 492.5 MB, free: 8.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.2236, allocations: 8 kB / 492.5 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2236, allocations: 0 / 492.5 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.2236, allocations: 4 kB / 492.5 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.2242, allocations: 95.78 kB / 492.6 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.2243, allocations: 7.984 kB / 492.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.2246, allocations: 19.94 kB / 492.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.2247, allocations: 15.98 kB / 492.7 MB, free: 8.508 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0004424/0.2251, allocations: 235.9 kB / 492.9 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.2253, allocations: 71.14 kB / 493 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.2256, allocations: 76.92 kB / 493.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.2256, allocations: 4 kB / 493.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.2256, allocations: 0 / 493.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.2256, allocations: 11.92 kB / 493.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.2286, allocations: 1.307 MB / 494.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.2287, allocations: 7.984 kB / 494.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.229, allocations: 59.92 kB / 494.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.229, allocations: 4 kB / 494.5 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.2291, allocations: 15.98 kB / 494.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/0.2291, allocations: 7.938 kB / 494.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.2291, allocations: 4 kB / 494.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.2307, allocations: 0.7856 MB / 495.3 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.2311, allocations: 172.2 kB / 495.4 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.2312, allocations: 15.98 kB / 495.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/0.2318, allocations: 19.98 kB / 495.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.232, allocations: 39.83 kB / 495.5 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.2321, allocations: 27.98 kB / 495.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001132/0.2332, allocations: 0.5849 MB / 496.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2332, allocations: 0 / 496.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001106/0.2343, allocations: 87.91 kB / 496.2 MB, free: 4.828 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002197/0.2365, allocations: 0.5251 MB / 496.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.2377, allocations: 315.6 kB / 497 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2378, allocations: 0 / 497 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006116/0.2384, allocations: 168 kB / 497.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.2402, allocations: 117.7 kB / 497.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.2432, allocations: 1.273 MB / 498.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008239/0.2441, allocations: 0.8824 MB / 499.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.2444, allocations: 59.41 kB / 499.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.2444, allocations: 0 / 499.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of Templates: time 0.01752/0.2619, allocations: 6.437 MB / 0.4941 GB, free: 11.18 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches