Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001441/0.001441, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 71.67 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 62.44 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004044/0.1284, allocations: 2.094 MB / 481.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.1306, allocations: 1.107 MB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.1309, allocations: 8 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.1315, allocations: 259.3 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.1321, allocations: 231.3 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1336, allocations: 0.6162 MB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.1342, allocations: 327.1 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.1345, allocations: 88.91 kB / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1347, allocations: 131.4 kB / 484.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.135, allocations: 203.2 kB / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.135, allocations: 8 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.1352, allocations: 71.95 kB / 484.5 MB, free: 480 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.1354, allocations: 103.5 kB / 484.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1355, allocations: 127 kB / 484.7 MB, free: 248 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.136, allocations: 338.7 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.136, allocations: 0 / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.136, allocations: 0 / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1361, allocations: 0 / 485.1 MB, free: 15.91 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.001034/0.1371, allocations: 0.6883 MB / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.1372, allocations: 12.88 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.702e-05/0.1372, allocations: 42.75 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.1374, allocations: 44.38 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.1378, allocations: 346 kB / 486.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1378, allocations: 12.38 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1378, allocations: 8.375 kB / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.1381, allocations: 129.5 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1381, allocations: 0 / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1382, allocations: 0 / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1382, allocations: 4 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.1384, allocations: 99.81 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/0.1392, allocations: 0.5237 MB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1394, allocations: 106.5 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.1395, allocations: 40.84 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.1396, allocations: 7.984 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1396, allocations: 46.44 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1396, allocations: 0 / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001123/0.1407, allocations: 455.7 kB / 487.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1408, allocations: 55.41 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/0.1415, allocations: 0.5918 MB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1415, allocations: 37.7 kB / 488.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1417, allocations: 216.3 kB / 488.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.1417, allocations: 51.2 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.1418, allocations: 33.7 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.142, allocations: 358.8 kB / 488.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1422, allocations: 63.95 kB / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1424, allocations: 67.89 kB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.1427, allocations: 167 kB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1427, allocations: 3.938 kB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004046/0.1431, allocations: 229 kB / 489.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1431, allocations: 6.188 kB / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1431, allocations: 0 / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1431, allocations: 4 kB / 489.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.1433, allocations: 31.97 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1433, allocations: 11.94 kB / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.1434, allocations: 8 kB / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1434, allocations: 4 kB / 489.5 MB, free: 11.22 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.0001858/0.1436, allocations: 185.7 kB / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.1437, allocations: 43.44 kB / 489.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005555/0.1443, allocations: 285.7 kB / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1443, allocations: 0 / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1443, allocations: 0 / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1443, allocations: 11.92 kB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.1453, allocations: 0.6972 MB / 490.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1453, allocations: 0 / 490.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.1454, allocations: 35.98 kB / 490.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1454, allocations: 0 / 490.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1454, allocations: 4 kB / 490.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1454, allocations: 3.938 kB / 490.8 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1454, allocations: 3.984 kB / 490.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.1459, allocations: 336.8 kB / 491.1 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.146, allocations: 124.6 kB / 491.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.1461, allocations: 0 / 491.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1462, allocations: 15.92 kB / 491.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.1462, allocations: 11.98 kB / 491.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1462, allocations: 4 kB / 491.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005197/0.1468, allocations: 450.8 kB / 491.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1468, allocations: 0 / 491.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.1471, allocations: 59.89 kB / 491.7 MB, free: 8.875 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.002272/0.1494, allocations: 1.452 MB / 493.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.1497, allocations: 166.3 kB / 493.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1498, allocations: 4 kB / 493.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1499, allocations: 87.89 kB / 493.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.1505, allocations: 77.78 kB / 493.5 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.1548, allocations: 3.477 MB / 497 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.1553, allocations: 0.8221 MB / 497.8 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.1554, allocations: 66.22 kB / 497.9 MB, free: 2.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.1556, allocations: 139.4 kB / 498 MB, free: 2.75 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1556, allocations: 0 / 498 MB, free: 2.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.177, allocations: 7.498 MB / 0.4937 GB, free: 11.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/0.1773, allocations: 232.6 kB / 0.4939 GB, free: 11.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.309, allocations: 4 kB / 0.4939 GB, free: 11.08 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches