Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007954/0.0007954, allocations: 93.92 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008276/0.0008276, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2022/0.2022, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 63.55 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002382/0.1094, allocations: 1.734 MB / 484.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1111, allocations: 0.982 MB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.1114, allocations: 4 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005244/0.1119, allocations: 251.4 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005066/0.1124, allocations: 227.4 kB / 486.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1135, allocations: 465.6 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.1139, allocations: 311.1 kB / 487.1 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1141, allocations: 60.98 kB / 487.2 MB, free: 52 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.1143, allocations: 123.6 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1146, allocations: 191.2 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1146, allocations: 4 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.1147, allocations: 63.84 kB / 487.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1149, allocations: 87.61 kB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.115, allocations: 140.7 kB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.1153, allocations: 318.7 kB / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1153, allocations: 4 kB / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1154, allocations: 0 / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1154, allocations: 0 / 488.1 MB, free: 15.13 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007312/0.1161, allocations: 0.6224 MB / 488.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1162, allocations: 8.875 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.1162, allocations: 42.73 kB / 488.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.1163, allocations: 40.47 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.1166, allocations: 334 kB / 489.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1166, allocations: 12.38 kB / 489.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1167, allocations: 12.38 kB / 489.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1169, allocations: 109.6 kB / 489.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1169, allocations: 3.938 kB / 489.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1169, allocations: 0 / 489.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1169, allocations: 7.938 kB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1171, allocations: 79.89 kB / 489.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.1178, allocations: 0.504 MB / 489.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.118, allocations: 98.53 kB / 490 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.1181, allocations: 40.84 kB / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1181, allocations: 0 / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1181, allocations: 34.5 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.1181, allocations: 0 / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009682/0.1191, allocations: 415.9 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1192, allocations: 55.41 kB / 490.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.1198, allocations: 0.5838 MB / 491.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1198, allocations: 33.7 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.12, allocations: 212.4 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.12, allocations: 59.11 kB / 491.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.1201, allocations: 21.7 kB / 491.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1202, allocations: 350.8 kB / 491.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1204, allocations: 55.97 kB / 491.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1205, allocations: 55.97 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1207, allocations: 131.4 kB / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1207, allocations: 0 / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000337/0.1211, allocations: 216.9 kB / 492.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1211, allocations: 4 kB / 492.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1211, allocations: 0 / 492.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1211, allocations: 0 / 492.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1213, allocations: 35.98 kB / 492.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1213, allocations: 0 / 492.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.1214, allocations: 15.98 kB / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1214, allocations: 4 kB / 492.2 MB, free: 10.75 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 (17): * Single equations (assignments): 17 * 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.0001489/0.1215, allocations: 181.7 kB / 492.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.1216, allocations: 47.42 kB / 492.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.122, allocations: 243.7 kB / 492.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.1221, allocations: 8 kB / 492.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1221, allocations: 0 / 492.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1221, allocations: 0 / 492.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000786/0.1229, allocations: 0.662 MB / 493.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1229, allocations: 0 / 493.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.123, allocations: 39.91 kB / 493.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.123, allocations: 0 / 493.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.123, allocations: 7.938 kB / 493.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.123, allocations: 3.938 kB / 493.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.123, allocations: 0 / 493.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.1234, allocations: 317.2 kB / 493.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1236, allocations: 128.5 kB / 493.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.1236, allocations: 7.984 kB / 493.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1237, allocations: 11.94 kB / 493.9 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.1238, allocations: 15.92 kB / 493.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1238, allocations: 4 kB / 493.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004257/0.1242, allocations: 447.1 kB / 494.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1242, allocations: 0 / 494.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.1246, allocations: 48 kB / 494.4 MB, free: 8.496 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 (17): * Single equations (assignments): 17 * 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.002143/0.1268, allocations: 1.429 MB / 495.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.1271, allocations: 138.4 kB / 495.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1271, allocations: 4 kB / 495.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1272, allocations: 79.89 kB / 496 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.1278, allocations: 73.25 kB / 496.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.1317, allocations: 3.315 MB / 499.4 MB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.1322, allocations: 0.8184 MB / 0.4885 GB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000153/0.1324, allocations: 58.23 kB / 0.4886 GB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.1326, allocations: 131.4 kB / 0.4887 GB, free: 2.617 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1326, allocations: 4 kB / 0.4887 GB, free: 2.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.1505, allocations: 7.009 MB / 0.4955 GB, free: 11.72 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.1507, allocations: 236 kB / 0.4958 GB, free: 11.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.074, allocations: 3.938 kB / 0.4958 GB, free: 11.45 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches