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.0009866/0.0009868, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.11 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 77 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 62.44 MB / 481.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003216/0.1145, allocations: 2.042 MB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1166, allocations: 1.356 MB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1167, allocations: 4 kB / 484.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.117, allocations: 55.5 kB / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.1175, allocations: 203.2 kB / 485.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1188, allocations: 0.6103 MB / 485.7 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.1191, allocations: 315.2 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1193, allocations: 76.61 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.1196, allocations: 131.5 kB / 486.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1198, allocations: 183.3 kB / 486.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.1198, allocations: 20 kB / 486.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.12, allocations: 63.98 kB / 486.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1201, allocations: 147.5 kB / 486.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.1202, allocations: 170.6 kB / 486.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.1207, allocations: 398.4 kB / 487.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1207, allocations: 4 kB / 487.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1207, allocations: 4 kB / 487.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1207, allocations: 0 / 487.2 MB, free: 14.81 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.0009382/0.1217, allocations: 0.7618 MB / 488 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1217, allocations: 12.03 kB / 488 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.122, allocations: 76.16 kB / 488 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/0.1226, allocations: 475.6 kB / 488.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1226, allocations: 8.375 kB / 488.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1227, allocations: 12.12 kB / 488.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.1229, allocations: 147.2 kB / 488.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.123, allocations: 4 kB / 488.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.123, allocations: 8 kB / 488.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.123, allocations: 3.938 kB / 488.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.1232, allocations: 91.88 kB / 488.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.1241, allocations: 0.6838 MB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1244, allocations: 121.2 kB / 489.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1245, allocations: 49.81 kB / 489.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1245, allocations: 7.984 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1246, allocations: 38.5 kB / 489.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.1246, allocations: 0 / 489.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001336/0.1259, allocations: 0.5369 MB / 490.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.126, allocations: 85.31 kB / 490.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008819/0.1269, allocations: 0.9102 MB / 491.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1269, allocations: 29.64 kB / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1271, allocations: 256.3 kB / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1271, allocations: 55.19 kB / 491.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.1272, allocations: 37.64 kB / 491.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1273, allocations: 370.7 kB / 491.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1275, allocations: 63.95 kB / 492 MB, free: 9.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1277, allocations: 89.66 kB / 492.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.128, allocations: 154.5 kB / 492.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.128, allocations: 0 / 492.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004367/0.1285, allocations: 240.9 kB / 492.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1285, allocations: 8 kB / 492.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1285, allocations: 0 / 492.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1285, allocations: 3.984 kB / 492.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1287, allocations: 35.97 kB / 492.5 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1287, allocations: 11.94 kB / 492.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1288, allocations: 11.91 kB / 492.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.1289, allocations: 7.984 kB / 492.5 MB, free: 9.176 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.0001942/0.1291, allocations: 217.7 kB / 492.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.1292, allocations: 51.34 kB / 492.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/0.1298, allocations: 298.4 kB / 493.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1298, allocations: 4 kB / 493.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1298, allocations: 4 kB / 493.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1298, allocations: 0 / 493.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.1309, allocations: 0.7982 MB / 493.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1309, allocations: 0 / 493.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.131, allocations: 39.91 kB / 493.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1311, allocations: 8 kB / 494 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1311, allocations: 3.984 kB / 494 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1311, allocations: 7.938 kB / 494 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1311, allocations: 0 / 494 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.1316, allocations: 417.9 kB / 494.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.1318, allocations: 144.4 kB / 494.5 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.1318, allocations: 8 kB / 494.5 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.132, allocations: 11.92 kB / 494.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.1321, allocations: 15.98 kB / 494.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1321, allocations: 8 kB / 494.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006284/0.1327, allocations: 0.663 MB / 495.2 MB, free: 6.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1327, allocations: 0 / 495.2 MB, free: 6.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003623/0.1331, allocations: 59.98 kB / 495.3 MB, free: 6.336 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.000866/0.134, allocations: 396.2 kB / 495.7 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.1344, allocations: 159.8 kB / 495.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1344, allocations: 0 / 495.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1346, allocations: 87.88 kB / 495.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.1351, allocations: 88.03 kB / 496 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1363, allocations: 0.9394 MB / 496.9 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1368, allocations: 0.8763 MB / 497.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.1369, allocations: 95.14 kB / 497.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.137, allocations: 35.44 kB / 497.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.137, allocations: 0 / 497.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of Templates: time 0.007994/0.145, allocations: 4.066 MB / 0.4902 GB, free: 15.7 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 -s gbode -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