Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, 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.002123/0.002123, 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 1.375/1.375, 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.423/0.423, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 71.95 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2274, allocations: 62.44 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.008053/0.2356, allocations: 2.088 MB / 482 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004185/0.2399, allocations: 1.349 MB / 483.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.2403, allocations: 0 / 483.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.2408, allocations: 43.7 kB / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008617/0.2417, allocations: 179.4 kB / 483.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.2444, allocations: 0.5786 MB / 484.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008523/0.2452, allocations: 303.1 kB / 484.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.2456, allocations: 68.7 kB / 484.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004713/0.2461, allocations: 123.4 kB / 484.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.2465, allocations: 191.2 kB / 484.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.2466, allocations: 8 kB / 484.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.2469, allocations: 59.97 kB / 484.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.2472, allocations: 147.5 kB / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.2475, allocations: 154.6 kB / 485.2 MB, free: 476 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.2482, allocations: 299.8 kB / 485.5 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2482, allocations: 0 / 485.5 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2482, allocations: 0 / 485.5 MB, free: 176 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.2482, allocations: 0 / 485.5 MB, free: 176 kB / 350.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.001945/0.2502, allocations: 0.7735 MB / 486.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.2502, allocations: 12.88 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.2508, allocations: 76.17 kB / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.2519, allocations: 463.7 kB / 486.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.252, allocations: 8.375 kB / 486.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.2521, allocations: 16.12 kB / 486.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.2526, allocations: 147.1 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.2527, allocations: 11.92 kB / 487 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.2527, allocations: 4 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.2527, allocations: 4 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.2532, allocations: 99.86 kB / 487.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.2552, allocations: 0.6838 MB / 487.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.2556, allocations: 117.2 kB / 487.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.2558, allocations: 45.81 kB / 487.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.2558, allocations: 4 kB / 487.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.2559, allocations: 46.44 kB / 488 MB, free: 13.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.246e-06/0.2559, allocations: 0 / 488 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002705/0.2586, allocations: 0.5453 MB / 488.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.2587, allocations: 77.11 kB / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.2607, allocations: 0.9024 MB / 489.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2607, allocations: 29.7 kB / 489.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.2611, allocations: 260.3 kB / 489.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.2612, allocations: 51.2 kB / 489.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.2613, allocations: 33.7 kB / 489.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002676/0.2616, allocations: 378.7 kB / 490.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.2619, allocations: 63.95 kB / 490.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.2623, allocations: 77.66 kB / 490.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/0.2629, allocations: 169.9 kB / 490.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2629, allocations: 0 / 490.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000959/0.2639, allocations: 236.9 kB / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.2639, allocations: 4 kB / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.264, allocations: 0 / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.264, allocations: 4 kB / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.2644, allocations: 43.91 kB / 490.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2644, allocations: 0 / 490.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.2647, allocations: 19.89 kB / 490.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.2647, allocations: 4.219 kB / 490.8 MB, free: 10.54 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 (16): * Single equations (assignments): 16 * 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.000419/0.2651, allocations: 213.7 kB / 491.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.2654, allocations: 59.28 kB / 491.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.2665, allocations: 298.4 kB / 491.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.2665, allocations: 0 / 491.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.2665, allocations: 4 kB / 491.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2665, allocations: 0 / 491.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.2687, allocations: 0.8098 MB / 492.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2688, allocations: 0 / 492.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.2691, allocations: 35.97 kB / 492.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.2691, allocations: 0 / 492.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.2691, allocations: 8 kB / 492.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.2691, allocations: 3.938 kB / 492.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2692, allocations: 3.938 kB / 492.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2702, allocations: 429.9 kB / 492.7 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.2706, allocations: 136.4 kB / 492.8 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.303e-05/0.2707, allocations: 4 kB / 492.8 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.2711, allocations: 19.92 kB / 492.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.2712, allocations: 11.98 kB / 492.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.2712, allocations: 11.98 kB / 492.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.2726, allocations: 0.6591 MB / 493.5 MB, free: 7.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2726, allocations: 4 kB / 493.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007432/0.2734, allocations: 52 kB / 493.6 MB, free: 7.695 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 (16): * Single equations (assignments): 16 * 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.00196/0.2754, allocations: 395.2 kB / 494 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000787/0.2762, allocations: 163.8 kB / 494.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2762, allocations: 0 / 494.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.2766, allocations: 87.88 kB / 494.2 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.2778, allocations: 78.08 kB / 494.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.2808, allocations: 1.071 MB / 495.4 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.282, allocations: 0.8577 MB / 496.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.2822, allocations: 43.42 kB / 496.3 MB, free: 5.086 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.2823, allocations: 4 kB / 496.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01926/0.3015, allocations: 5.807 MB / 0.4903 GB, free: 15.28 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches