Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 115.7 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001813, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2392/0.2392, allocations: 46.09 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 76.5 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1353, allocations: 62.46 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003598/0.1389, allocations: 1.697 MB / 481.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1402, allocations: 0.5728 MB / 481.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.1402, allocations: 4 kB / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.1408, allocations: 451.2 kB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.1412, allocations: 283.5 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.1418, allocations: 162.5 kB / 482.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.1421, allocations: 179.6 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.1422, allocations: 19.98 kB / 483 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1424, allocations: 103.8 kB / 483.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.1427, allocations: 223.5 kB / 483.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1427, allocations: 3.984 kB / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1428, allocations: 39.98 kB / 483.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1429, allocations: 91.56 kB / 483.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.143, allocations: 99 kB / 483.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.1434, allocations: 263.2 kB / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1434, allocations: 0 / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1434, allocations: 0 / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.1435, allocations: 4 kB / 483.8 MB, free: 1.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001116/0.1446, allocations: 0.6414 MB / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1447, allocations: 15.97 kB / 484.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.469e-05/0.1448, allocations: 30.75 kB / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1449, allocations: 44.38 kB / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.1454, allocations: 308.1 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1454, allocations: 8.375 kB / 484.8 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.1454, allocations: 4.375 kB / 484.8 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1456, allocations: 61.59 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1457, allocations: 0 / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.1457, allocations: 0 / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1457, allocations: 8 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1458, allocations: 23.98 kB / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007265/0.1466, allocations: 416.5 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1468, allocations: 42.56 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.1469, allocations: 20.94 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1469, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.1469, allocations: 30.56 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.1469, allocations: 0 / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006419/0.1476, allocations: 243.9 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.1476, allocations: 51.41 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008962/0.1485, allocations: 0.8776 MB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1486, allocations: 25.7 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1487, allocations: 228.1 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1488, allocations: 15.75 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.1488, allocations: 21.72 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.149, allocations: 362.8 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.149, allocations: 23.92 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.1491, allocations: 19.98 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1493, allocations: 56.81 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1493, allocations: 0 / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002407/0.1495, allocations: 125 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1495, allocations: 4 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.1496, allocations: 0 / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1496, allocations: 4.281 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.1496, allocations: 19.92 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1497, allocations: 0 / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.1497, allocations: 11.92 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.1497, allocations: 0 / 487.5 MB, free: 13.41 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 (5): * Single equations (assignments): 5 * 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.0001857/0.1499, allocations: 217.8 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.15, allocations: 43.42 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.1503, allocations: 145.1 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1503, allocations: 320 / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1503, allocations: 0 / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1503, allocations: 7.875 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.1509, allocations: 478.4 kB / 488.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1509, allocations: 0 / 488.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.151, allocations: 15.98 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.151, allocations: 0 / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.151, allocations: 3.938 kB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.151, allocations: 0 / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.151, allocations: 0 / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.1514, allocations: 226.9 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.1515, allocations: 108.5 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1516, allocations: 11.92 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.1516, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.1517, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1517, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006452/0.1523, allocations: 0.6628 MB / 489.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1523, allocations: 0 / 489.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1526, allocations: 31.98 kB / 489.4 MB, free: 11.38 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 (5): * Single equations (assignments): 5 * 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.001424/0.154, allocations: 1.043 MB / 490.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1543, allocations: 63.95 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1543, allocations: 0 / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.193e-05/0.1544, allocations: 23.98 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.1548, allocations: 28.33 kB / 490.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.1594, allocations: 3.378 MB / 493.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/0.1601, allocations: 0.826 MB / 494.8 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.1601, allocations: 16.64 kB / 494.8 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.1603, allocations: 115.4 kB / 494.9 MB, free: 5.871 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1603, allocations: 0 / 494.9 MB, free: 5.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.1809, allocations: 5.877 MB / 0.489 GB, free: 80 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.1811, allocations: 239.3 kB / 0.4893 GB, free: 15.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.142, allocations: 0 / 0.4893 GB, free: 15.82 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches