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.001605/0.001605, allocations: 108.2 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001709, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 76.5 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.128, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003297/0.1314, allocations: 1.732 MB / 481.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009916/0.1324, allocations: 0.5728 MB / 481.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.1325, allocations: 0 / 481.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.1331, allocations: 463.1 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005261/0.1336, allocations: 279.5 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.1341, allocations: 166.3 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1344, allocations: 175.7 kB / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1345, allocations: 20.22 kB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1347, allocations: 115.7 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1349, allocations: 223.6 kB / 483.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.135, allocations: 8 kB / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1351, allocations: 55.91 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1352, allocations: 83.69 kB / 483.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.1353, allocations: 110.9 kB / 483.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.1356, allocations: 275.2 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1356, allocations: 0 / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1357, allocations: 0 / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1357, allocations: 4 kB / 483.8 MB, free: 1.242 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007949/0.1365, allocations: 0.6491 MB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1365, allocations: 12.02 kB / 484.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.1366, allocations: 46.69 kB / 484.5 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.1367, allocations: 40.38 kB / 484.6 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1369, allocations: 304.1 kB / 484.9 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.137, allocations: 384 / 484.9 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.137, allocations: 8.375 kB / 484.9 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1372, allocations: 61.61 kB / 484.9 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1372, allocations: 0 / 484.9 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1372, allocations: 7.922 kB / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1372, allocations: 0 / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1374, allocations: 35.98 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.1379, allocations: 408.6 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1381, allocations: 54.58 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.1381, allocations: 16.86 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1382, allocations: 12.06 kB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1382, allocations: 34.56 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1382, allocations: 0 / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001014/0.1392, allocations: 319.7 kB / 485.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1393, allocations: 59.34 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/0.1401, allocations: 0.8776 MB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1401, allocations: 25.7 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1403, allocations: 228.1 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.1404, allocations: 27.59 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.1404, allocations: 21.7 kB / 487 MB, free: 13.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1406, allocations: 362.8 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.424e-05/0.1407, allocations: 39.97 kB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.719e-05/0.1407, allocations: 27.98 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1409, allocations: 80.8 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1409, allocations: 3.938 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002644/0.1412, allocations: 137.1 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1412, allocations: 8 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1412, allocations: 4 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1413, allocations: 0 / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1414, allocations: 27.86 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1414, allocations: 4.312 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.1415, allocations: 7.984 kB / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1415, allocations: 0 / 487.7 MB, free: 13.1 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.0001829/0.1417, allocations: 209.8 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.1418, allocations: 47.42 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.1421, allocations: 185.4 kB / 488.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1421, allocations: 7.875 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1421, allocations: 0 / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1421, allocations: 0 / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006912/0.1428, allocations: 0.5265 MB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1429, allocations: 0 / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.1429, allocations: 15.98 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1429, allocations: 4 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.143, allocations: 0 / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.143, allocations: 0 / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.143, allocations: 4 kB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.1433, allocations: 251.7 kB / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.1434, allocations: 120.5 kB / 489.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1434, allocations: 0 / 489.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.1435, allocations: 7.938 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1435, allocations: 7.984 kB / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1436, allocations: 4 kB / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006041/0.1442, allocations: 0.6628 MB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1442, allocations: 4 kB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1445, allocations: 24 kB / 489.8 MB, free: 10.92 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.001503/0.146, allocations: 1.141 MB / 490.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1462, allocations: 75.94 kB / 491 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1462, allocations: 0 / 491 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1463, allocations: 47.91 kB / 491.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.1468, allocations: 30.3 kB / 491.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.1509, allocations: 3.489 MB / 494.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1513, allocations: 0.8304 MB / 495.4 MB, free: 5.324 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.018e-05/0.1514, allocations: 20.41 kB / 495.4 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.1516, allocations: 119.4 kB / 495.5 MB, free: 5.188 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1516, allocations: 4 kB / 495.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.1753, allocations: 6.223 MB / 0.49 GB, free: 15.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.1755, allocations: 230.7 kB / 0.4902 GB, free: 14.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.292, allocations: 0 / 0.4902 GB, free: 14.8 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