Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007032/0.0007033, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000841/0.0008411, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1793/0.1793, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.0002299, allocations: 11.98 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.0895, allocations: 63.57 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001653/0.09119, allocations: 1.396 MB / 484.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.09203, allocations: 0.5456 MB / 485.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.09208, allocations: 0 / 485.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.09255, allocations: 447.2 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.09289, allocations: 287.4 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.09318, allocations: 119.3 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.09338, allocations: 179.6 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.657e-05/0.09347, allocations: 12.23 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.09358, allocations: 111.7 kB / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.09378, allocations: 207.6 kB / 486.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.0938, allocations: 4 kB / 486.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.0939, allocations: 43.98 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.09399, allocations: 83.67 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.09408, allocations: 132.6 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.09432, allocations: 259.2 kB / 487 MB, free: 240 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.09434, allocations: 4 kB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09434, allocations: 0 / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.09435, allocations: 7.938 kB / 487 MB, free: 228 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006129/0.09497, allocations: 0.6183 MB / 487.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.09501, allocations: 12.88 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.09505, allocations: 34.75 kB / 487.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.0951, allocations: 44.38 kB / 487.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.09534, allocations: 304.1 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.09535, allocations: 384 / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.09538, allocations: 8.375 kB / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.09553, allocations: 73.55 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.09555, allocations: 0 / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.09556, allocations: 4 kB / 488.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.09557, allocations: 0 / 488.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.09572, allocations: 43.97 kB / 488.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.09614, allocations: 408.6 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.09635, allocations: 62.53 kB / 488.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/0.09644, allocations: 32.97 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.09647, allocations: 4 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.09649, allocations: 34.56 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.0965, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001535/0.09804, allocations: 0.5503 MB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.09808, allocations: 51.41 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/0.09886, allocations: 0.8699 MB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.09888, allocations: 33.64 kB / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.09904, allocations: 220 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.09907, allocations: 27.56 kB / 490.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.09911, allocations: 21.7 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.09923, allocations: 362.8 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.09938, allocations: 47.97 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.09952, allocations: 51.95 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.0998, allocations: 121.1 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.09981, allocations: 0 / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003705/0.1002, allocations: 200.9 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1002, allocations: 8 kB / 491.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1002, allocations: 0 / 491.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1002, allocations: 3.938 kB / 491.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1004, allocations: 27.98 kB / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.1004, allocations: 11.92 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.1005, allocations: 15.98 kB / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.1005, allocations: 0 / 491.2 MB, free: 11.72 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 (11): * Single equations (assignments): 11 * 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.0001744/0.1007, allocations: 221.8 kB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.1007, allocations: 39.44 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/0.1012, allocations: 225.3 kB / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1012, allocations: 7.938 kB / 491.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1012, allocations: 3.938 kB / 491.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1012, allocations: 4 kB / 491.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007215/0.1019, allocations: 0.5903 MB / 492.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1019, allocations: 0 / 492.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.102, allocations: 27.98 kB / 492.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1021, allocations: 4 kB / 492.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1021, allocations: 4 kB / 492.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1021, allocations: 0 / 492.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1021, allocations: 7.938 kB / 492.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.1025, allocations: 300.6 kB / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.1026, allocations: 116.5 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.1026, allocations: 8 kB / 492.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1027, allocations: 11.98 kB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1028, allocations: 7.984 kB / 492.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1028, allocations: 15.94 kB / 492.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005647/0.1033, allocations: 0.6511 MB / 493.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1034, allocations: 0 / 493.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1036, allocations: 35.92 kB / 493.5 MB, free: 9.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001489/0.1051, allocations: 1.179 MB / 494.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.1055, allocations: 119.9 kB / 494.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1055, allocations: 0 / 494.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1056, allocations: 72.02 kB / 494.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.106, allocations: 26.31 kB / 494.9 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.1098, allocations: 3.623 MB / 498.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1102, allocations: 0.8262 MB / 499.3 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.27e-05/0.1102, allocations: 16.55 kB / 499.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.1104, allocations: 115.5 kB / 499.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1104, allocations: 3.938 kB / 499.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.1252, allocations: 5.928 MB / 0.4936 GB, free: 13.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.1254, allocations: 233.5 kB / 0.4938 GB, free: 13.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/1.852, allocations: 0 / 0.4938 GB, free: 13.29 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches