Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001758/0.001758, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002215/0.002216, 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.53/2.53, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3357/0.3357, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 72.53 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.209, allocations: 62.45 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.004877/0.214, allocations: 1.736 MB / 481.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2156, allocations: 0.5845 MB / 482.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.2157, allocations: 0 / 482.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.2162, allocations: 63.8 kB / 482.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.2166, allocations: 79.8 kB / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.2173, allocations: 167.4 kB / 482.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.2176, allocations: 83.77 kB / 482.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.2178, allocations: 24.2 kB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.2179, allocations: 31.8 kB / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.218, allocations: 55.81 kB / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.2181, allocations: 4 kB / 482.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.2182, allocations: 47.98 kB / 482.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2184, allocations: 23.92 kB / 482.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.759e-05/0.2185, allocations: 35.72 kB / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.2187, allocations: 75.91 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.2187, allocations: 0 / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.701e-06/0.2187, allocations: 0 / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2188, allocations: 3.938 kB / 482.9 MB, free: 2.688 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.0008245/0.2196, allocations: 415.3 kB / 483.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.2197, allocations: 12.02 kB / 483.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.2197, allocations: 16.75 kB / 483.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.22, allocations: 200.1 kB / 483.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2201, allocations: 12.38 kB / 483.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.2201, allocations: 4.375 kB / 483.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.2204, allocations: 61.8 kB / 483.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.2204, allocations: 4 kB / 483.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.2205, allocations: 7.938 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2205, allocations: 0 / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.2207, allocations: 47.95 kB / 483.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.2215, allocations: 316.7 kB / 484 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.2219, allocations: 62.58 kB / 484.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.222, allocations: 28.97 kB / 484.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.222, allocations: 0 / 484.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.2221, allocations: 38.55 kB / 484.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.2221, allocations: 0 / 484.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002312/0.2244, allocations: 428.8 kB / 484.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.2245, allocations: 59.28 kB / 484.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.2248, allocations: 194.1 kB / 484.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.2248, allocations: 25.7 kB / 484.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.2249, allocations: 112 kB / 484.9 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.225, allocations: 35.45 kB / 485 MB, free: 460 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.2251, allocations: 25.72 kB / 485 MB, free: 428 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2253, allocations: 322.8 kB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.2255, allocations: 59.95 kB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.2257, allocations: 52.03 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.2261, allocations: 124.8 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2261, allocations: 0 / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005101/0.2266, allocations: 165.5 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.2267, allocations: 7.984 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.2267, allocations: 3.938 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.2267, allocations: 4.562 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.2269, allocations: 27.92 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2269, allocations: 3.984 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.227, allocations: 11.98 kB / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.2271, allocations: 8 kB / 485.8 MB, free: 15.62 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.0001564/0.2272, allocations: 129.8 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.2273, allocations: 11.81 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.2279, allocations: 190.2 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.228, allocations: 7.938 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.228, allocations: 7.984 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.228, allocations: 0 / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.2291, allocations: 0.4921 MB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2291, allocations: 0 / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.2293, allocations: 28.05 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.2293, allocations: 7.984 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2294, allocations: 0 / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2294, allocations: 4 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2294, allocations: 3.984 kB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.23, allocations: 281.4 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.2301, allocations: 85.02 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.2301, allocations: 4 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.2303, allocations: 12.08 kB / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.2304, allocations: 11.92 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2304, allocations: 4 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.2306, allocations: 147.2 kB / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2306, allocations: 0 / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004964/0.2311, allocations: 27.98 kB / 487.2 MB, free: 14.07 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.001746/0.2329, allocations: 449.2 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.2335, allocations: 131.8 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2335, allocations: 3.938 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.2338, allocations: 71.89 kB / 487.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/0.2345, allocations: 16.06 kB / 487.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.2356, allocations: 375.6 kB / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.236, allocations: 0.7043 MB / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-05/0.2361, allocations: 23.42 kB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2361, allocations: 4 kB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.006577/0.2427, allocations: 2.047 MB / 491 MB, free: 10.36 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches