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.001608/0.001608, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002183/0.002183, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 80.11 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 62.45 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004769/0.1224, allocations: 2.043 MB / 482.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.1256, allocations: 1.352 MB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.1258, allocations: 4 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.1261, allocations: 55.52 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.1267, allocations: 211.1 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.1286, allocations: 0.5977 MB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.1292, allocations: 311.2 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.1294, allocations: 76.69 kB / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.1298, allocations: 131.5 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.1301, allocations: 195.2 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.1302, allocations: 12 kB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.1304, allocations: 59.98 kB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.1306, allocations: 155.4 kB / 485.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.1308, allocations: 162.6 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005812/0.1314, allocations: 394.8 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1315, allocations: 0 / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1315, allocations: 0 / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1315, allocations: 4 kB / 485.8 MB, free: 15.48 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.00137/0.1329, allocations: 0.7735 MB / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1329, allocations: 8.031 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/0.1334, allocations: 76.17 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.1342, allocations: 467.7 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1342, allocations: 12.38 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.1343, allocations: 12.12 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.1347, allocations: 143.2 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1347, allocations: 4 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.1347, allocations: 4 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1348, allocations: 7.984 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.1351, allocations: 99.86 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.1364, allocations: 0.6839 MB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1367, allocations: 121.1 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.1368, allocations: 45.81 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.1369, allocations: 7.984 kB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.1369, allocations: 42.5 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.1369, allocations: 0 / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001921/0.1389, allocations: 0.5414 MB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.139, allocations: 85.11 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.1404, allocations: 0.9024 MB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.1405, allocations: 25.7 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.1408, allocations: 260.3 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.1409, allocations: 55.2 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.141, allocations: 33.7 kB / 490.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.1412, allocations: 370.7 kB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.1415, allocations: 71.94 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.1418, allocations: 81.61 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.1423, allocations: 154 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1424, allocations: 8 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007461/0.1431, allocations: 240.9 kB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1432, allocations: 8 kB / 491.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1432, allocations: 0 / 491.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1432, allocations: 0 / 491.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.1435, allocations: 39.97 kB / 491.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1435, allocations: 0 / 491.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1437, allocations: 19.89 kB / 491.2 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.1438, allocations: 4 kB / 491.2 MB, free: 9.848 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.0002855/0.1441, allocations: 225.6 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.1442, allocations: 51.34 kB / 491.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008547/0.1451, allocations: 290.5 kB / 491.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1451, allocations: 4 kB / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1451, allocations: 0 / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.1451, allocations: 4.094 kB / 491.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.1468, allocations: 0.8099 MB / 492.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1468, allocations: 0 / 492.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.147, allocations: 39.91 kB / 492.6 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1471, allocations: 4 kB / 492.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1471, allocations: 4 kB / 492.6 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1471, allocations: 7.938 kB / 492.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1471, allocations: 0 / 492.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.1479, allocations: 414 kB / 493 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.1481, allocations: 136.4 kB / 493.1 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.1482, allocations: 8 kB / 493.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.1485, allocations: 15.92 kB / 493.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.1486, allocations: 23.84 kB / 493.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.1487, allocations: 15.98 kB / 493.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001093/0.1498, allocations: 0.6591 MB / 493.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1498, allocations: 0 / 493.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005899/0.1504, allocations: 56 kB / 493.9 MB, free: 7 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.001387/0.1518, allocations: 387.4 kB / 494.3 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006373/0.1524, allocations: 171.8 kB / 494.5 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1524, allocations: 7.938 kB / 494.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.1527, allocations: 83.89 kB / 494.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/0.1537, allocations: 76.81 kB / 494.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1556, allocations: 0.9505 MB / 495.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.1563, allocations: 0.8757 MB / 496.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.1566, allocations: 91.84 kB / 496.5 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.1568, allocations: 39.42 kB / 496.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1568, allocations: 0 / 496.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of Templates: time 0.01267/0.1694, allocations: 4.073 MB / 0.4889 GB, free: 356 kB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches