Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00148/0.00148, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.525/2.525, allocations: 227.4 MB / 246.9 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.4427/0.4427, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003023/0.003023, allocations: 77.08 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2127, allocations: 62.45 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.006014/0.2188, allocations: 1.74 MB / 481.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2205, allocations: 0.5768 MB / 482.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2207, allocations: 4 kB / 482.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.2212, allocations: 51.8 kB / 482.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.2217, allocations: 79.8 kB / 482.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000759/0.2224, allocations: 159.6 kB / 482.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.2228, allocations: 79.77 kB / 482.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.223, allocations: 28.2 kB / 482.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.2231, allocations: 31.8 kB / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.2233, allocations: 51.81 kB / 482.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.2233, allocations: 4 kB / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.2235, allocations: 43.98 kB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2237, allocations: 19.92 kB / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.2238, allocations: 39.73 kB / 482.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.224, allocations: 75.89 kB / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.2241, allocations: 0 / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2241, allocations: 0 / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2241, allocations: 0 / 482.9 MB, free: 2.723 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.0008145/0.2249, allocations: 419.3 kB / 483.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.158e-05/0.225, allocations: 8.031 kB / 483.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.2251, allocations: 12.84 kB / 483.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.2255, allocations: 196 kB / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.2255, allocations: 12.38 kB / 483.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.2255, allocations: 4.375 kB / 483.5 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.2258, allocations: 69.72 kB / 483.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2259, allocations: 4 kB / 483.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.2259, allocations: 4 kB / 483.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.2259, allocations: 0 / 483.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.2261, allocations: 35.97 kB / 483.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.2269, allocations: 332.6 kB / 484 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.2272, allocations: 54.55 kB / 484 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2274, allocations: 32.95 kB / 484.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2274, allocations: 0 / 484.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.2274, allocations: 34.56 kB / 484.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.2275, allocations: 0 / 484.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002204/0.2297, allocations: 424.9 kB / 484.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.2297, allocations: 59.34 kB / 484.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.23, allocations: 182.2 kB / 484.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.23, allocations: 25.7 kB / 484.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.2301, allocations: 108 kB / 484.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.2302, allocations: 39.45 kB / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.2303, allocations: 25.72 kB / 484.9 MB, free: 488 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2304, allocations: 322.8 kB / 485.3 MB, free: 156 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.2307, allocations: 55.95 kB / 485.3 MB, free: 100 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.2309, allocations: 60 kB / 485.4 MB, free: 40 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.2314, allocations: 124.8 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2314, allocations: 0 / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005448/0.2319, allocations: 169.4 kB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.232, allocations: 4 kB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.232, allocations: 0 / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.232, allocations: 3.984 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.2322, allocations: 27.92 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2322, allocations: 0 / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.784e-05/0.2324, allocations: 15.98 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.2324, allocations: 4.562 kB / 485.7 MB, free: 15.69 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.00015/0.2325, allocations: 129.8 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.2326, allocations: 11.81 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.2333, allocations: 182.2 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.2333, allocations: 11.94 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.2333, allocations: 0 / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.2334, allocations: 3.984 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.2345, allocations: 0.5038 MB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2345, allocations: 0 / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.2347, allocations: 23.98 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2347, allocations: 4 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.2348, allocations: 4.062 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2348, allocations: 4 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.2348, allocations: 3.984 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.2354, allocations: 276.9 kB / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.2355, allocations: 85 kB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.2356, allocations: 4 kB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2357, allocations: 8.078 kB / 487 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.2358, allocations: 15.94 kB / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2358, allocations: 3.984 kB / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.236, allocations: 138.4 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2361, allocations: 0 / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005034/0.2366, allocations: 32 kB / 487.1 MB, free: 14.14 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.001885/0.2385, allocations: 454 kB / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.2391, allocations: 135.8 kB / 487.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.2391, allocations: 0 / 487.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.2394, allocations: 71.89 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.2401, allocations: 19.92 kB / 487.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2412, allocations: 355.2 kB / 488.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.2417, allocations: 0.7161 MB / 488.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.2417, allocations: 19.42 kB / 488.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2418, allocations: 0 / 488.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of Templates: time 0.006627/0.2484, allocations: 2.034 MB / 490.9 MB, free: 10.46 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches