Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, 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.002045/0.002045, 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.757/2.757, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3755/0.3755, allocations: 46.1 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 73.48 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2172, allocations: 62.44 MB / 480.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.005838/0.2231, allocations: 1.743 MB / 481.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.2248, allocations: 0.5455 MB / 482.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.225, allocations: 0 / 482.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.2255, allocations: 75.77 kB / 482.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.2261, allocations: 83.8 kB / 482.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.2267, allocations: 122.9 kB / 482.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.227, allocations: 87.75 kB / 482.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2272, allocations: 24.22 kB / 482.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2273, allocations: 39.78 kB / 482.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.2275, allocations: 55.81 kB / 482.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.2275, allocations: 4 kB / 482.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.2277, allocations: 51.98 kB / 483 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2279, allocations: 31.89 kB / 483 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.2279, allocations: 31.75 kB / 483 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2282, allocations: 91.81 kB / 483.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2282, allocations: 4 kB / 483.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2282, allocations: 4 kB / 483.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.2283, allocations: 0 / 483.1 MB, free: 2.629 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.0007983/0.2291, allocations: 419.2 kB / 483.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.2291, allocations: 11.97 kB / 483.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.2292, allocations: 12.84 kB / 483.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.2295, allocations: 198.7 kB / 483.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2296, allocations: 4.375 kB / 483.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.2296, allocations: 8.281 kB / 483.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.2299, allocations: 73.78 kB / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2299, allocations: 0 / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.23, allocations: 0 / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.23, allocations: 4 kB / 483.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.2302, allocations: 35.91 kB / 483.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.2309, allocations: 308.8 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.2313, allocations: 58.58 kB / 484.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.2314, allocations: 24.97 kB / 484.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.2315, allocations: 3.938 kB / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.2315, allocations: 38.56 kB / 484.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.274e-06/0.2316, allocations: 0 / 484.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002484/0.234, allocations: 397.1 kB / 484.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.2341, allocations: 55.34 kB / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.2345, allocations: 214.8 kB / 485 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.2346, allocations: 33.7 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2347, allocations: 104 kB / 485.1 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.2348, allocations: 39.44 kB / 485.1 MB, free: 440 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.2349, allocations: 29.7 kB / 485.2 MB, free: 404 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.2351, allocations: 322.8 kB / 485.5 MB, free: 72 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.2353, allocations: 39.97 kB / 485.5 MB, free: 32 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.2356, allocations: 44.06 kB / 485.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.2361, allocations: 104.8 kB / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2361, allocations: 0 / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006203/0.2368, allocations: 141.5 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.2368, allocations: 4 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2368, allocations: 4 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.2369, allocations: 0 / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.2371, allocations: 35.84 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2371, allocations: 4 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.2373, allocations: 11.98 kB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.2373, allocations: 4 kB / 485.9 MB, free: 15.67 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.0001723/0.2375, allocations: 125.8 kB / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.2376, allocations: 15.75 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/0.2383, allocations: 170.8 kB / 486.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.2383, allocations: 11.92 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2384, allocations: 0 / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2384, allocations: 0 / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.2395, allocations: 475.9 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2396, allocations: 0 / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.2398, allocations: 32.16 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2398, allocations: 0 / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2398, allocations: 8 kB / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.361e-06/0.2398, allocations: 4 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2398, allocations: 4.062 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.2405, allocations: 257 kB / 486.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.2406, allocations: 88.92 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.2406, allocations: 4 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.2408, allocations: 15.98 kB / 487 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.2409, allocations: 11.98 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2409, allocations: 4 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.2412, allocations: 160.7 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2412, allocations: 0 / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005261/0.2417, allocations: 31.98 kB / 487.3 MB, free: 14.17 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.001922/0.2436, allocations: 460.6 kB / 487.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00057/0.2442, allocations: 107.9 kB / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2443, allocations: 0 / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.2445, allocations: 63.89 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.2452, allocations: 27.17 kB / 487.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.2463, allocations: 346.5 kB / 488.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.2468, allocations: 0.7119 MB / 488.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.113e-05/0.2469, allocations: 23.42 kB / 489 MB, free: 12.55 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2469, allocations: 0 / 489 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Templates: time 0.006361/0.2533, allocations: 1.971 MB / 490.9 MB, free: 10.57 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches