Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, 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.002116/0.002116, 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.814/2.814, allocations: 227.4 MB / 247.1 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.462/0.462, allocations: 46.1 MB / 344.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002932/0.002932, allocations: 75.66 kB / 417.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1982, allocations: 62.44 MB / 480.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.005139/0.2034, allocations: 1.669 MB / 481.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00735/0.2108, allocations: 1.152 MB / 483 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.2109, allocations: 4 kB / 483 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.2113, allocations: 23.86 kB / 483 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.2119, allocations: 67.81 kB / 483.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005917/0.2125, allocations: 107.2 kB / 483.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.2128, allocations: 71.84 kB / 483.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.213, allocations: 31.91 kB / 483.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.2131, allocations: 27.92 kB / 483.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.2133, allocations: 47.77 kB / 483.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.2134, allocations: 4 kB / 483.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.2137, allocations: 91.94 kB / 483.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.2138, allocations: 15.94 kB / 483.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.2139, allocations: 31.8 kB / 483.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.2142, allocations: 115.8 kB / 483.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2143, allocations: 4 kB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.358e-06/0.2143, allocations: 0 / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2143, allocations: 3.938 kB / 483.6 MB, free: 2.176 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000736/0.215, allocations: 403.4 kB / 484 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.2151, allocations: 12.03 kB / 484 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.2152, allocations: 16.83 kB / 484 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.2155, allocations: 190.8 kB / 484.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2156, allocations: 4.375 kB / 484.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.2156, allocations: 12.28 kB / 484.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.2159, allocations: 83.45 kB / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.216, allocations: 0 / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.216, allocations: 11.88 kB / 484.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.216, allocations: 0 / 484.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.2162, allocations: 31.97 kB / 484.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.217, allocations: 320.7 kB / 484.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.2172, allocations: 50.56 kB / 484.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2173, allocations: 24.97 kB / 484.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.2174, allocations: 3.984 kB / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.2174, allocations: 38.55 kB / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.304e-06/0.2175, allocations: 4 kB / 484.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001206/0.2187, allocations: 193.3 kB / 485 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.2188, allocations: 85.03 kB / 485.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.2191, allocations: 153.8 kB / 485.2 MB, free: 380 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.2191, allocations: 25.7 kB / 485.2 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.2192, allocations: 100.1 kB / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.2193, allocations: 27.62 kB / 485.4 MB, free: 216 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.2194, allocations: 21.7 kB / 485.4 MB, free: 188 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2196, allocations: 318.8 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.2197, allocations: 27.97 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.2199, allocations: 45.69 kB / 485.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.2203, allocations: 76.84 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2203, allocations: 0 / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004569/0.2208, allocations: 109.5 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.2208, allocations: 4 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2209, allocations: 0 / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2209, allocations: 3.984 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.2211, allocations: 16 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2211, allocations: 3.938 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2212, allocations: 11.98 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2213, allocations: 4 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001458/0.2214, allocations: 121.8 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-05/0.2215, allocations: 11.89 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.2221, allocations: 126.6 kB / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2221, allocations: 0 / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.2222, allocations: 3.938 kB / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2222, allocations: 4 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009948/0.2232, allocations: 406.4 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2232, allocations: 0 / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.2234, allocations: 23.92 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.2234, allocations: 3.938 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2234, allocations: 0 / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.2235, allocations: 3.984 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2235, allocations: 7.938 kB / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.224, allocations: 203.4 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.2241, allocations: 88.95 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.2242, allocations: 4.359 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2243, allocations: 8 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.2244, allocations: 4 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2245, allocations: 11.98 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.2247, allocations: 121.2 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.188e-06/0.2247, allocations: 0 / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.2253, allocations: 47.92 kB / 487.2 MB, free: 14.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002222/0.2275, allocations: 498.8 kB / 487.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.228, allocations: 75.94 kB / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.228, allocations: 0 / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.2282, allocations: 47.91 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.2288, allocations: 15 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.2297, allocations: 255.7 kB / 488 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.2301, allocations: 0.7079 MB / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2302, allocations: 19.42 kB / 488.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2303, allocations: 0 / 488.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01184/0.2421, allocations: 2.16 MB / 490.9 MB, free: 10.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches