Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 77.59 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.0944, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003029/0.09746, allocations: 1.666 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009385/0.09843, allocations: 0.5649 MB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.0985, allocations: 0 / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.099, allocations: 451.1 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.09948, allocations: 295.3 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.09983, allocations: 135.2 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1, allocations: 163.7 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.666e-05/0.1001, allocations: 23.98 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1003, allocations: 119.6 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1005, allocations: 207.6 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.1005, allocations: 4 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1006, allocations: 47.98 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.1007, allocations: 83.69 kB / 483.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.007e-05/0.1008, allocations: 111 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.1011, allocations: 279.1 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1011, allocations: 3.938 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1011, allocations: 0 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1011, allocations: 0 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006518/0.1018, allocations: 0.6531 MB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1018, allocations: 8.031 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.1018, allocations: 34.75 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.1019, allocations: 44.38 kB / 485 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.1022, allocations: 304.1 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.1022, allocations: 8.375 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1022, allocations: 12.36 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1024, allocations: 65.55 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1024, allocations: 0 / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1024, allocations: 0 / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1024, allocations: 0 / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.1025, allocations: 27.92 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.103, allocations: 412.6 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.731e-05/0.1031, allocations: 42.5 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.1031, allocations: 16.86 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1032, allocations: 8.078 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1032, allocations: 30.66 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.1032, allocations: 7.938 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009553/0.1042, allocations: 303.8 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1042, allocations: 59.33 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008393/0.1051, allocations: 0.8738 MB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1051, allocations: 29.7 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1053, allocations: 232 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1053, allocations: 19.66 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.1054, allocations: 25.7 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1055, allocations: 358.8 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.1056, allocations: 23.98 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.1057, allocations: 31.97 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1058, allocations: 61.06 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1059, allocations: 4 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002479/0.1061, allocations: 137 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1061, allocations: 4 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1062, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1062, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1063, allocations: 23.92 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1063, allocations: 4 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.1064, allocations: 7.984 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1064, allocations: 4 kB / 488.1 MB, free: 13 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 (8): * Single equations (assignments): 8 * 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.0001981/0.1066, allocations: 209.8 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.1067, allocations: 43.44 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.107, allocations: 165.5 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1071, allocations: 11.92 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1071, allocations: 0 / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1071, allocations: 0 / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.1077, allocations: 0.503 MB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1077, allocations: 0 / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.1078, allocations: 23.97 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1078, allocations: 7.984 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1079, allocations: 4.422 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1079, allocations: 4 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1079, allocations: 0 / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.1082, allocations: 235.8 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.1083, allocations: 112.5 kB / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1083, allocations: 4 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.1084, allocations: 11.97 kB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1085, allocations: 7.938 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.1085, allocations: 4 kB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006458/0.1091, allocations: 0.6589 MB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1091, allocations: 0 / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1094, allocations: 35.98 kB / 490.1 MB, free: 10.86 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 (8): * Single equations (assignments): 8 * 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.001791/0.1112, allocations: 1.118 MB / 491.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1116, allocations: 71.83 kB / 491.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1116, allocations: 4 kB / 491.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/0.1117, allocations: 35.97 kB / 491.3 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.1121, allocations: 22.31 kB / 491.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.1159, allocations: 3.359 MB / 494.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1163, allocations: 0.8338 MB / 495.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.945e-05/0.1164, allocations: 16.72 kB / 495.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.1166, allocations: 107.4 kB / 495.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1166, allocations: 0 / 495.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.1382, allocations: 6.223 MB / 0.4901 GB, free: 15.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.471, allocations: 5.141 kB / 0.4901 GB, free: 15.13 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches