Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003398/0.003398, allocations: 76.72 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2092, allocations: 62.46 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.004227/0.2135, allocations: 1.678 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2147, allocations: 0.5532 MB / 482.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.2148, allocations: 0 / 482.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.2152, allocations: 55.8 kB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.2157, allocations: 91.59 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.2162, allocations: 135 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.2164, allocations: 83.75 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2165, allocations: 16.22 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.2166, allocations: 39.84 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.2167, allocations: 39.84 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2167, allocations: 4 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.2169, allocations: 59.97 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.217, allocations: 23.86 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.217, allocations: 31.73 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.2173, allocations: 103.8 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2173, allocations: 0 / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2173, allocations: 0 / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.2173, allocations: 0 / 483 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000661/0.218, allocations: 415.2 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.218, allocations: 8.031 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.2181, allocations: 12.84 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.2184, allocations: 203.8 kB / 483.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2184, allocations: 4.312 kB / 483.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.2184, allocations: 7.938 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.2186, allocations: 61.61 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2187, allocations: 0 / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2187, allocations: 8 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2187, allocations: 0 / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.2188, allocations: 43.95 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.2194, allocations: 300.7 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.2197, allocations: 58.55 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.2198, allocations: 28.95 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.2198, allocations: 4.031 kB / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2198, allocations: 34.56 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.2198, allocations: 0 / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001626/0.2215, allocations: 404.7 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.2215, allocations: 51.41 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.2218, allocations: 181.5 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2218, allocations: 29.7 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.2219, allocations: 104 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.2219, allocations: 31.55 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.222, allocations: 25.7 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2222, allocations: 326.8 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.2223, allocations: 43.97 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.2224, allocations: 40.53 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.2227, allocations: 96.75 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2227, allocations: 4 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003395/0.223, allocations: 149.4 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2231, allocations: 4 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2231, allocations: 7.938 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2231, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.2232, allocations: 23.98 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.2233, allocations: 3.984 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.2233, allocations: 23.92 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2233, allocations: 4 kB / 485.7 MB, free: 15.37 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 (11): * Single equations (assignments): 11 * 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.0001169/0.2235, allocations: 125.8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.2235, allocations: 7.906 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.2239, allocations: 162.2 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2239, allocations: 4 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2239, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2239, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.2247, allocations: 483.8 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2247, allocations: 4.062 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.2248, allocations: 27.92 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2248, allocations: 4 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2248, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2248, allocations: 4 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2248, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.2252, allocations: 256.9 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.2253, allocations: 88.92 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.2253, allocations: 7.984 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.2255, allocations: 8 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.2255, allocations: 7.984 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.2256, allocations: 4 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.2257, allocations: 143.2 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2257, allocations: 0 / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.226, allocations: 24 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001649/0.2276, allocations: 450 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.228, allocations: 119.8 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.228, allocations: 0 / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.2282, allocations: 55.91 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.2286, allocations: 24.66 kB / 487.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.2292, allocations: 275.8 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.2296, allocations: 0.708 MB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.457e-05/0.2297, allocations: 16.55 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.2298, allocations: 19.42 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of SimCode: time 1.8e-07/0.2298, allocations: 0 / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of Templates: time 0.004956/0.2347, allocations: 1.551 MB / 490.2 MB, free: 10.83 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches