Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 72.59 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1447, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003413/0.1481, allocations: 1.592 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1492, allocations: 0.5416 MB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.1493, allocations: 4 kB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1495, allocations: 19.86 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.1498, allocations: 79.56 kB / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.1502, allocations: 115.2 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1503, allocations: 67.83 kB / 482.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1504, allocations: 12 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.1505, allocations: 23.86 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.1506, allocations: 23.84 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1506, allocations: 4 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.1507, allocations: 28 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1507, allocations: 15.92 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.1508, allocations: 31.81 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1509, allocations: 87.98 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1509, allocations: 0 / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1509, allocations: 0 / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.151, allocations: 0 / 482.8 MB, free: 2.523 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004246/0.1514, allocations: 383.1 kB / 483.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1514, allocations: 8.031 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.1515, allocations: 34.75 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.1515, allocations: 8.844 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.1517, allocations: 194.8 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1517, allocations: 4.375 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1517, allocations: 4.312 kB / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1519, allocations: 49.62 kB / 483.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1519, allocations: 0 / 483.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.1519, allocations: 0 / 483.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1519, allocations: 0 / 483.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.282e-05/0.152, allocations: 31.97 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.1524, allocations: 292.8 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1526, allocations: 50.42 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.1527, allocations: 16.86 kB / 483.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1527, allocations: 3.938 kB / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1528, allocations: 38.66 kB / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1528, allocations: 0 / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006302/0.1534, allocations: 153.2 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1535, allocations: 55.39 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1536, allocations: 161.8 kB / 484.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1537, allocations: 25.7 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.1537, allocations: 104.1 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1538, allocations: 11.75 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1538, allocations: 21.7 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.154, allocations: 322.8 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.1541, allocations: 19.98 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.1542, allocations: 19.98 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1543, allocations: 60.77 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1543, allocations: 0 / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001885/0.1545, allocations: 81.56 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.1545, allocations: 10.5 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1546, allocations: 0 / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1546, allocations: 0 / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.1547, allocations: 15.98 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1547, allocations: 3.938 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.1547, allocations: 4.281 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1547, allocations: 8 kB / 484.9 MB, free: 144 kB / 350.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 8.433e-05/0.1548, allocations: 121.8 kB / 485 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.1549, allocations: 7.906 kB / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.1551, allocations: 97.95 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1552, allocations: 320 / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.1552, allocations: 7.922 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1552, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.1556, allocations: 362.5 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1557, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.1557, allocations: 11.98 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1557, allocations: 7.938 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1557, allocations: 4 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1558, allocations: 0 / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1558, allocations: 3.938 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.156, allocations: 187.3 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.1561, allocations: 77.11 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1561, allocations: 7.938 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.1562, allocations: 0 / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.1562, allocations: 19.86 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1562, allocations: 0 / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1563, allocations: 130.8 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1563, allocations: 0 / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1566, allocations: 19.91 kB / 486 MB, free: 14.99 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.001402/0.158, allocations: 1.007 MB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1582, allocations: 63.89 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1582, allocations: 0 / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.1583, allocations: 23.98 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1586, allocations: 15.98 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.1602, allocations: 1.483 MB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1605, allocations: 0.6963 MB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.1606, allocations: 16.05 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1607, allocations: 31.42 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1607, allocations: 0 / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.1804, allocations: 2.532 MB / 491.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/7.544, allocations: 12.89 kB / 491.8 MB, free: 9.176 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches