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.001062/0.001065, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.1 MB / 343.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 76.92 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 62.44 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003292/0.1107, allocations: 2.082 MB / 481.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1127, allocations: 1.349 MB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1129, allocations: 0 / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.1131, allocations: 47.72 kB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.1136, allocations: 183.4 kB / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1148, allocations: 0.57 MB / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.1152, allocations: 315.1 kB / 484 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.1154, allocations: 76.7 kB / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.1156, allocations: 135.4 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1158, allocations: 187.3 kB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.1159, allocations: 16 kB / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.116, allocations: 67.97 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.1161, allocations: 155.4 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.1163, allocations: 166.6 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.1167, allocations: 386.9 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1167, allocations: 0 / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1167, allocations: 0 / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1167, allocations: 0 / 485.2 MB, free: 15.9 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.0009275/0.1177, allocations: 0.7734 MB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1177, allocations: 12.03 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.118, allocations: 80.16 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.1185, allocations: 463.7 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1185, allocations: 4.375 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.1186, allocations: 16.12 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1189, allocations: 143.2 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1189, allocations: 7.984 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1189, allocations: 4 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1189, allocations: 4 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.1192, allocations: 95.88 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.1201, allocations: 0.6954 MB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.1203, allocations: 117.2 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.1204, allocations: 41.83 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1204, allocations: 4 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1205, allocations: 42.48 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1205, allocations: 4 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001436/0.1219, allocations: 0.5375 MB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.122, allocations: 77.11 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009534/0.1229, allocations: 0.9102 MB / 489.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.123, allocations: 33.7 kB / 489.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1232, allocations: 256.2 kB / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.1232, allocations: 51.2 kB / 489.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.1233, allocations: 33.7 kB / 489.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1234, allocations: 382.6 kB / 489.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.1236, allocations: 63.95 kB / 490 MB, free: 10.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.1238, allocations: 80.34 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.1242, allocations: 165.8 kB / 490.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1242, allocations: 192 / 490.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004969/0.1247, allocations: 244.9 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1247, allocations: 6.656 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1247, allocations: 0 / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1247, allocations: 4 kB / 490.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.125, allocations: 35.97 kB / 490.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.125, allocations: 3.938 kB / 490.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1251, allocations: 19.89 kB / 490.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1251, allocations: 7.984 kB / 490.6 MB, free: 10.27 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.0002057/0.1254, allocations: 213.7 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1255, allocations: 55.34 kB / 490.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.1261, allocations: 298.6 kB / 491.1 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1261, allocations: 4 kB / 491.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1261, allocations: 7.938 kB / 491.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1261, allocations: 0 / 491.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1273, allocations: 0.7943 MB / 491.9 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1273, allocations: 4 kB / 491.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.1275, allocations: 43.91 kB / 492 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1275, allocations: 0 / 492 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1275, allocations: 4 kB / 492 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1275, allocations: 3.938 kB / 492 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1275, allocations: 0 / 492 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.1281, allocations: 425.9 kB / 492.4 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1282, allocations: 136.4 kB / 492.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.1283, allocations: 8 kB / 492.5 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1285, allocations: 11.94 kB / 492.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.1285, allocations: 15.97 kB / 492.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1286, allocations: 4 kB / 492.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007286/0.1293, allocations: 0.663 MB / 493.2 MB, free: 7.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1293, allocations: 4 kB / 493.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.1297, allocations: 52 kB / 493.3 MB, free: 7.438 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.0009204/0.1306, allocations: 400.2 kB / 493.7 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004833/0.1311, allocations: 179.7 kB / 493.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1311, allocations: 4 kB / 493.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.1313, allocations: 87.88 kB / 493.9 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.132, allocations: 77.94 kB / 494 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.1334, allocations: 1.069 MB / 495.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.1339, allocations: 0.8758 MB / 495.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.1341, allocations: 87.22 kB / 496 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.1342, allocations: 43.42 kB / 496.1 MB, free: 4.707 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1342, allocations: 0 / 496.1 MB, free: 4.707 MB / 366.1 MB Notification: Performance of Templates: time 0.008393/0.1426, allocations: 4.009 MB / 0.4884 GB, free: 0.7109 MB / 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