Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007479/0.0007479, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000847/0.0008469, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1939/0.1939, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002597, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1113, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.001942/0.1133, allocations: 1.334 MB / 484.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008443/0.1142, allocations: 0.5262 MB / 485 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.1142, allocations: 0 / 485 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.1148, allocations: 447.2 kB / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.1151, allocations: 275.5 kB / 485.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1154, allocations: 119.3 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1156, allocations: 155.7 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.1157, allocations: 12.17 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1158, allocations: 103.7 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.116, allocations: 203.6 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1161, allocations: 0 / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.218e-05/0.1161, allocations: 19.98 kB / 486.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.91e-05/0.1162, allocations: 83.62 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.1163, allocations: 128.7 kB / 486.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1166, allocations: 239 kB / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1166, allocations: 0 / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1166, allocations: 0 / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1166, allocations: 4 kB / 486.8 MB, free: 428 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006533/0.1173, allocations: 0.5875 MB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1173, allocations: 8.875 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.1173, allocations: 34.75 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.1174, allocations: 40.47 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1177, allocations: 304.1 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1177, allocations: 12.31 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1177, allocations: 4.125 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1178, allocations: 49.69 kB / 487.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.1178, allocations: 0 / 487.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1179, allocations: 4 kB / 487.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1179, allocations: 0 / 487.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.118, allocations: 23.98 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1184, allocations: 384.7 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.614e-05/0.1185, allocations: 34.56 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.1186, allocations: 20.86 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1186, allocations: 0 / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1186, allocations: 34.56 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1186, allocations: 4 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002469/0.1189, allocations: 109 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1189, allocations: 51.41 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.1197, allocations: 0.8738 MB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1197, allocations: 25.7 kB / 489.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.1199, allocations: 228 kB / 489.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1199, allocations: 8.031 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.12, allocations: 13.72 kB / 489.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1201, allocations: 366.7 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.1201, allocations: 8 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.1202, allocations: 11.98 kB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.709e-05/0.1203, allocations: 28.91 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1203, allocations: 0 / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000146/0.1204, allocations: 93.16 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1205, allocations: 8 kB / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1205, allocations: 0 / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1205, allocations: 0 / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.1205, allocations: 4 kB / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1206, allocations: 4.031 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.1206, allocations: 7.984 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1206, allocations: 7.938 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001622/0.1208, allocations: 205.8 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.1209, allocations: 43.44 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.1211, allocations: 124.7 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1211, allocations: 0 / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1211, allocations: 0 / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1211, allocations: 0 / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.1213, allocations: 285.5 kB / 490.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1214, allocations: 0 / 490.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1214, allocations: 4 kB / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1214, allocations: 3.938 kB / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1214, allocations: 3.984 kB / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1214, allocations: 0 / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1214, allocations: 3.938 kB / 490.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1216, allocations: 199 kB / 491 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.1217, allocations: 112.5 kB / 491.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.1217, allocations: 0 / 491.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.1218, allocations: 8 kB / 491.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.1218, allocations: 7.969 kB / 491.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1219, allocations: 4 kB / 491.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000583/0.1224, allocations: 0.6628 MB / 491.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1224, allocations: 0 / 491.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1227, allocations: 24 kB / 491.8 MB, free: 11.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.001098/0.1238, allocations: 0.9563 MB / 492.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.1239, allocations: 27.98 kB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1239, allocations: 0 / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.124, allocations: 15.94 kB / 492.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1244, allocations: 32.89 kB / 492.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.1276, allocations: 3.251 MB / 496.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.128, allocations: 0.8185 MB / 496.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.746e-05/0.128, allocations: 12.05 kB / 496.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1282, allocations: 107.4 kB / 497 MB, free: 5.805 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1282, allocations: 4 kB / 497 MB, free: 5.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.1452, allocations: 5.194 MB / 0.4905 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/0.1455, allocations: 235.7 kB / 0.4907 GB, free: 460 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/1.963, allocations: 4 kB / 0.4907 GB, free: 456 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches