Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000764/0.000764, 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.0009309/0.0009309, 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.327/1.327, allocations: 227.7 MB / 246.8 MB, free: 9.543 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.195/0.195, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 11.98 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1355, allocations: 63.56 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002209/0.1378, allocations: 1.397 MB / 484.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1388, allocations: 0.5613 MB / 485.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.1389, allocations: 0 / 485.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.1394, allocations: 455.2 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.1397, allocations: 279.5 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1401, allocations: 163 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1403, allocations: 171.7 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.1404, allocations: 20.22 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.1405, allocations: 107.7 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1407, allocations: 207.6 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1407, allocations: 0 / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.1408, allocations: 51.91 kB / 486.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.1409, allocations: 83.69 kB / 486.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.96e-05/0.141, allocations: 132.6 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1413, allocations: 263.2 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1413, allocations: 3.938 kB / 487 MB, free: 156 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1413, allocations: 0 / 487 MB, free: 156 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1413, allocations: 4 kB / 487 MB, free: 152 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.0005803/0.1419, allocations: 0.6183 MB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1419, allocations: 8.875 kB / 487.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.142, allocations: 34.75 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.142, allocations: 40.38 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1423, allocations: 304.1 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1423, allocations: 4.375 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1423, allocations: 4.375 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1425, allocations: 73.55 kB / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1425, allocations: 0 / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1425, allocations: 4 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1425, allocations: 3.984 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1426, allocations: 35.97 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.1431, allocations: 416.7 kB / 488.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/0.1432, allocations: 50.5 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.1432, allocations: 20.94 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1433, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1433, allocations: 38.56 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1433, allocations: 0 / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000893/0.1442, allocations: 347.7 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.1442, allocations: 59.34 kB / 489.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/0.145, allocations: 0.8776 MB / 489.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.145, allocations: 29.7 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1452, allocations: 228.1 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1452, allocations: 27.55 kB / 490.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.1452, allocations: 13.72 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1454, allocations: 358.8 kB / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.1454, allocations: 35.97 kB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.1455, allocations: 39.98 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1457, allocations: 89.02 kB / 490.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1457, allocations: 0 / 490.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002429/0.146, allocations: 157.1 kB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.146, allocations: 7.938 kB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.146, allocations: 0 / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.146, allocations: 3.938 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.1461, allocations: 27.86 kB / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1461, allocations: 0 / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.1462, allocations: 15.98 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1462, allocations: 0 / 491 MB, free: 11.99 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.0001749/0.1464, allocations: 217.8 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.1464, allocations: 43.44 kB / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.1467, allocations: 189.5 kB / 491.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1468, allocations: 3.938 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1468, allocations: 0 / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1468, allocations: 0 / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/0.1474, allocations: 0.5343 MB / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1474, allocations: 0 / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.1475, allocations: 19.98 kB / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1475, allocations: 0 / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1475, allocations: 4 kB / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1475, allocations: 0 / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1475, allocations: 0 / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1478, allocations: 263.7 kB / 492.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.1479, allocations: 120.5 kB / 492.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1479, allocations: 0 / 492.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.148, allocations: 7.984 kB / 492.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.148, allocations: 12.42 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.148, allocations: 4 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000545/0.1486, allocations: 0.6589 MB / 493 MB, free: 9.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1486, allocations: 0 / 493 MB, free: 9.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1488, allocations: 32 kB / 493 MB, free: 9.781 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.001358/0.1502, allocations: 1.144 MB / 494.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1504, allocations: 79.95 kB / 494.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1504, allocations: 0 / 494.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/0.1505, allocations: 51.97 kB / 494.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1509, allocations: 34.28 kB / 494.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/0.1544, allocations: 3.516 MB / 497.9 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1548, allocations: 0.8346 MB / 498.7 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.439e-05/0.1549, allocations: 20.72 kB / 498.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.155, allocations: 119.4 kB / 498.8 MB, free: 4 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.155, allocations: 0 / 498.8 MB, free: 4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.1715, allocations: 5.874 MB / 0.4929 GB, free: 14.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.1717, allocations: 229.8 kB / 0.4931 GB, free: 13.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.035, allocations: 0 / 0.4931 GB, free: 13.98 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches