Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001888/0.001888, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.408/2.408, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3537/0.3537, allocations: 46.11 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003077/0.003077, allocations: 77.06 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2171, allocations: 62.44 MB / 480.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.005436/0.2226, allocations: 1.75 MB / 481.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.2255, allocations: 0.99 MB / 482.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2257, allocations: 0 / 482.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.2261, allocations: 67.8 kB / 483 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.2267, allocations: 91.72 kB / 483.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.227, allocations: 59.88 kB / 483.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.2273, allocations: 107.6 kB / 483.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.418e-05/0.2274, allocations: 12.22 kB / 483.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.2276, allocations: 43.8 kB / 483.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2278, allocations: 51.81 kB / 483.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.2278, allocations: 4 kB / 483.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2279, allocations: 28 kB / 483.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/0.228, allocations: 23.84 kB / 483.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.003e-05/0.2281, allocations: 35.73 kB / 483.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.2284, allocations: 80.12 kB / 483.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2284, allocations: 0 / 483.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2284, allocations: 0 / 483.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.2284, allocations: 0 / 483.5 MB, free: 2.258 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.0007956/0.2292, allocations: 418.9 kB / 483.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.2293, allocations: 8.031 kB / 483.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.2294, allocations: 12.84 kB / 483.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.2298, allocations: 208.8 kB / 484.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2298, allocations: 4.375 kB / 484.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.2298, allocations: 4.125 kB / 484.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.23, allocations: 45.62 kB / 484.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2301, allocations: 3.938 kB / 484.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.2301, allocations: 7.984 kB / 484.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2301, allocations: 0 / 484.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.2302, allocations: 12 kB / 484.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.2305, allocations: 185.7 kB / 484.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.2308, allocations: 50.62 kB / 484.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.231, allocations: 28.72 kB / 484.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.231, allocations: 4 kB / 484.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.2313, allocations: 63.39 kB / 484.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/0.2313, allocations: 0 / 484.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004932/0.2318, allocations: 93.48 kB / 484.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.2319, allocations: 55.41 kB / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.2322, allocations: 194.8 kB / 484.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.2323, allocations: 25.7 kB / 484.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.2324, allocations: 104.1 kB / 485 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.2325, allocations: 11.89 kB / 485 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.2325, allocations: 21.72 kB / 485 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2327, allocations: 322.8 kB / 485.3 MB, free: 200 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.2328, allocations: 15.98 kB / 485.4 MB, free: 184 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.233, allocations: 33.7 kB / 485.4 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.2332, allocations: 33.72 kB / 485.4 MB, free: 104 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2332, allocations: 0 / 485.4 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003357/0.2335, allocations: 101.4 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.2336, allocations: 4 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2336, allocations: 4.25 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2336, allocations: 0 / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.2338, allocations: 16 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2338, allocations: 0 / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.2339, allocations: 3.938 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.2339, allocations: 7.984 kB / 485.6 MB, free: 15.96 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.0001557/0.2341, allocations: 132.6 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.2341, allocations: 11.81 kB / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.116e-05/0.2342, allocations: 20.98 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2342, allocations: 0 / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2343, allocations: 0 / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2343, allocations: 0 / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.2345, allocations: 193.5 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2345, allocations: 0 / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.2346, allocations: 4 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2346, allocations: 0 / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2346, allocations: 0 / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2346, allocations: 4 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2346, allocations: 3.938 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.235, allocations: 116.9 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.235, allocations: 81.02 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.2351, allocations: 4 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.2352, allocations: 7.984 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.2352, allocations: 4 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.2353, allocations: 4 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.2355, allocations: 152.7 kB / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2355, allocations: 0 / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000412/0.2359, allocations: 16 kB / 486.3 MB, free: 15.13 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.001967/0.2379, allocations: 404.6 kB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.2382, allocations: 47.91 kB / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2383, allocations: 0 / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.2384, allocations: 20.06 kB / 486.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.2389, allocations: 35.89 kB / 486.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.2396, allocations: 251.6 kB / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.24, allocations: 0.7049 MB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.2401, allocations: 15.44 kB / 487.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2401, allocations: 0 / 487.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of Templates: time 0.006025/0.2461, allocations: 1.723 MB / 489.5 MB, free: 12.01 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches