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.00105/0.00105, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, 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.2422/0.2422, allocations: 46.1 MB / 344.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 79.61 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 62.45 MB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004237/0.1359, allocations: 2.039 MB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.1385, allocations: 1.13 MB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.1388, allocations: 0 / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.1394, allocations: 263.1 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007558/0.1403, allocations: 267 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.1421, allocations: 0.6481 MB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006414/0.1427, allocations: 351.1 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.143, allocations: 76.98 kB / 484.9 MB, free: 396 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.1433, allocations: 143.4 kB / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.1436, allocations: 211.2 kB / 485.2 MB, free: 40 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.1437, allocations: 12 kB / 485.2 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.1439, allocations: 79.91 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.1441, allocations: 99.67 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.1443, allocations: 130.9 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005697/0.1449, allocations: 334.8 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1449, allocations: 0 / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.1449, allocations: 0 / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.145, allocations: 7.875 kB / 485.9 MB, free: 15.39 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.001269/0.1462, allocations: 0.6922 MB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.113e-05/0.1463, allocations: 8.031 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.1464, allocations: 38.75 kB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.1466, allocations: 44.38 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.1473, allocations: 354 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1473, allocations: 8.375 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.1473, allocations: 12.38 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.1477, allocations: 129.5 kB / 487.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1478, allocations: 0 / 487.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.1478, allocations: 8 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1478, allocations: 0 / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.1481, allocations: 91.88 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1492, allocations: 0.5237 MB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1495, allocations: 118.4 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.1496, allocations: 36.84 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.1497, allocations: 11.98 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.1497, allocations: 38.5 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.1497, allocations: 0 / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001501/0.1512, allocations: 451.7 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1513, allocations: 55.41 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.1519, allocations: 0.6035 MB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.152, allocations: 25.7 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1521, allocations: 220.3 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.1522, allocations: 51.2 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.1523, allocations: 37.7 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1525, allocations: 354.8 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1526, allocations: 67.89 kB / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1527, allocations: 71.95 kB / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.153, allocations: 158.8 kB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.153, allocations: 0 / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004046/0.1534, allocations: 229 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1535, allocations: 8 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1535, allocations: 0 / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1535, allocations: 0 / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1537, allocations: 43.91 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.1537, allocations: 0 / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.686e-05/0.1538, allocations: 8 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1538, allocations: 8 kB / 490.3 MB, free: 10.7 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.0001812/0.154, allocations: 185.7 kB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.1541, allocations: 39.44 kB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/0.1546, allocations: 291.8 kB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1547, allocations: 4 kB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1547, allocations: 0 / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1547, allocations: 7.922 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1557, allocations: 0.6933 MB / 491.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1557, allocations: 4 kB / 491.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.1558, allocations: 27.98 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1558, allocations: 0 / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1559, allocations: 8 kB / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.1559, allocations: 3.938 kB / 491.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1559, allocations: 3.938 kB / 491.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.1563, allocations: 341.6 kB / 491.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.1564, allocations: 120.6 kB / 492 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.1565, allocations: 0 / 492 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1566, allocations: 19.92 kB / 492.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.1566, allocations: 7.984 kB / 492.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1566, allocations: 8 kB / 492.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004341/0.1571, allocations: 446.8 kB / 492.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1571, allocations: 0 / 492.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1574, allocations: 55.91 kB / 492.6 MB, free: 8.355 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.002213/0.1596, allocations: 1.454 MB / 494 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.16, allocations: 182.2 kB / 494.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.16, allocations: 0 / 494.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1602, allocations: 87.89 kB / 494.3 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.1608, allocations: 94.84 kB / 494.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.1648, allocations: 3.384 MB / 497.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.1652, allocations: 0.826 MB / 498.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.1653, allocations: 62.22 kB / 498.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.1655, allocations: 139.4 kB / 498.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1655, allocations: 0 / 498.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.1956, allocations: 7.727 MB / 0.4946 GB, free: 10.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/7.568, allocations: 6.891 kB / 0.4946 GB, free: 10.63 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