Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001625, allocations: 113.4 kB / 17.99 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002342/0.002342, allocations: 205.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.966/2.966, 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.4954/0.4954, allocations: 46.09 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.002811, allocations: 81.31 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2205, allocations: 62.45 MB / 480.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00642/0.227, allocations: 2.152 MB / 482.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003734/0.2307, allocations: 1.38 MB / 483.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.2312, allocations: 3.938 kB / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.2318, allocations: 47.7 kB / 483.7 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.233, allocations: 191.4 kB / 483.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.2359, allocations: 0.586 MB / 484.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009989/0.2369, allocations: 351 kB / 484.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.2373, allocations: 80.69 kB / 484.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005766/0.2379, allocations: 155.4 kB / 485.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005254/0.2384, allocations: 199.2 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.717e-05/0.2385, allocations: 16 kB / 485.3 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.2389, allocations: 67.95 kB / 485.4 MB, free: 400 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.2392, allocations: 159.4 kB / 485.5 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.2395, allocations: 174.6 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000745/0.2403, allocations: 319.8 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2403, allocations: 0 / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2404, allocations: 0 / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.511e-05/0.2404, allocations: 0 / 486 MB, free: 15.75 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.002092/0.2425, allocations: 0.8083 MB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.2426, allocations: 12.03 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008366/0.2434, allocations: 96.14 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.2445, allocations: 480.4 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2446, allocations: 12.31 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.2447, allocations: 16.12 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.2453, allocations: 155.2 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.2453, allocations: 0 / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2454, allocations: 4 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.2454, allocations: 8 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.2461, allocations: 123.8 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.2481, allocations: 0.7112 MB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.2487, allocations: 133.2 kB / 488.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.2491, allocations: 65.8 kB / 488.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.2491, allocations: 8 kB / 488.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.2492, allocations: 34.56 kB / 488.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 3.256e-06/0.2492, allocations: 0 / 488.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.004365/0.2536, allocations: 0.7474 MB / 489.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.2537, allocations: 77.33 kB / 489.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.2555, allocations: 0.9142 MB / 490.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.2556, allocations: 33.64 kB / 490.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.2559, allocations: 264.3 kB / 490.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.256, allocations: 67.08 kB / 490.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.2561, allocations: 41.7 kB / 490.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.2564, allocations: 378.7 kB / 491.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.2568, allocations: 111.9 kB / 491.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.2573, allocations: 125.6 kB / 491.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.2582, allocations: 253.6 kB / 491.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2583, allocations: 0 / 491.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001262/0.2595, allocations: 344.6 kB / 492 MB, free: 9.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.2596, allocations: 4 kB / 492 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2596, allocations: 4.75 kB / 492 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.2596, allocations: 4 kB / 492 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.2601, allocations: 51.94 kB / 492 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/0.2601, allocations: 4 kB / 492 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.2605, allocations: 19.98 kB / 492 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.2605, allocations: 7.984 kB / 492.1 MB, free: 9.418 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0003985/0.2609, allocations: 225.7 kB / 492.3 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.2611, allocations: 59.25 kB / 492.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.2625, allocations: 402.4 kB / 492.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.2625, allocations: 4 kB / 492.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2625, allocations: 7.984 kB / 492.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2626, allocations: 0 / 492.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.2648, allocations: 0.9464 MB / 493.7 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2648, allocations: 0 / 493.7 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.2652, allocations: 55.89 kB / 493.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.2652, allocations: 4 kB / 493.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.2653, allocations: 3.984 kB / 493.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.2653, allocations: 7.938 kB / 493.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2653, allocations: 0 / 493.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.2665, allocations: 0.5117 MB / 494.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.2668, allocations: 140.3 kB / 494.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/0.2669, allocations: 7.938 kB / 494.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.2673, allocations: 31.91 kB / 494.4 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.2675, allocations: 15.97 kB / 494.5 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.2675, allocations: 8 kB / 494.5 MB, free: 6.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.2688, allocations: 0.6591 MB / 495.1 MB, free: 6.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2688, allocations: 0 / 495.1 MB, free: 6.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006607/0.2695, allocations: 64 kB / 495.2 MB, free: 6.176 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001807/0.2713, allocations: 399.9 kB / 495.6 MB, free: 5.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.2728, allocations: 279.6 kB / 495.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.2728, allocations: 0 / 495.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.2735, allocations: 151.8 kB / 496 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.2749, allocations: 88.5 kB / 496.1 MB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.278, allocations: 1.152 MB / 497.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/0.2789, allocations: 0.8809 MB / 498.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.2792, allocations: 47.41 kB / 498.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2792, allocations: 3.938 kB / 498.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01921/0.2984, allocations: 6.339 MB / 0.4927 GB, free: 12.94 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches