Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 116.2 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.001781, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2524/0.2524, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 79.44 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1476, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.004008/0.1516, allocations: 1.711 MB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1531, allocations: 0.5613 MB / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1533, allocations: 0 / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007759/0.1541, allocations: 467.1 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006867/0.1548, allocations: 283.5 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.1555, allocations: 151.2 kB / 482.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.1559, allocations: 179.6 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1561, allocations: 19.98 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1563, allocations: 111.7 kB / 483.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.1566, allocations: 215.6 kB / 483.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1566, allocations: 4 kB / 483.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1567, allocations: 43.92 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1569, allocations: 87.61 kB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.157, allocations: 103 kB / 483.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.1574, allocations: 263.2 kB / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1574, allocations: 0 / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1574, allocations: 3.984 kB / 483.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1574, allocations: 0 / 483.8 MB, free: 1.34 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.0008629/0.1583, allocations: 0.6414 MB / 484.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1583, allocations: 8.031 kB / 484.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.1584, allocations: 34.73 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.1585, allocations: 52.38 kB / 484.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.1588, allocations: 304.1 kB / 484.8 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1589, allocations: 4.375 kB / 484.8 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.1589, allocations: 4.375 kB / 484.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1591, allocations: 61.61 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1591, allocations: 0 / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1592, allocations: 0 / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1592, allocations: 0 / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1593, allocations: 27.97 kB / 484.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.1601, allocations: 412.5 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1604, allocations: 38.56 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.1605, allocations: 20.94 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.1605, allocations: 3.984 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.1606, allocations: 38.56 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.797e-06/0.1606, allocations: 0 / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008085/0.1614, allocations: 235.9 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1614, allocations: 51.41 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008874/0.1623, allocations: 0.8854 MB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1624, allocations: 29.7 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1626, allocations: 224.1 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.1626, allocations: 19.73 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.1627, allocations: 21.72 kB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1628, allocations: 354.8 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.1629, allocations: 23.97 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.163, allocations: 23.92 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1632, allocations: 56.83 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1632, allocations: 3.938 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002393/0.1634, allocations: 121.1 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.1634, allocations: 10.97 kB / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1635, allocations: 0 / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1635, allocations: 0 / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.1636, allocations: 15.92 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1636, allocations: 4 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.1637, allocations: 11.94 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1637, allocations: 8.234 kB / 487.5 MB, free: 13.4 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.0001978/0.1639, allocations: 209.8 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.164, allocations: 47.44 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.1643, allocations: 141.2 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1643, allocations: 4 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1643, allocations: 4 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1643, allocations: 3.938 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.1649, allocations: 474.4 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1649, allocations: 3.984 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.165, allocations: 8 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.165, allocations: 0 / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.165, allocations: 3.938 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.165, allocations: 8 kB / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.165, allocations: 0 / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.1653, allocations: 218.9 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.1654, allocations: 116.5 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1654, allocations: 3.938 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.1655, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1656, allocations: 11.98 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1656, allocations: 4 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006066/0.1662, allocations: 0.6589 MB / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1662, allocations: 0 / 489.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1665, allocations: 24 kB / 489.4 MB, free: 11.37 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.001453/0.168, allocations: 1.049 MB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1682, allocations: 63.89 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1682, allocations: 0 / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.1683, allocations: 27.92 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.1687, allocations: 26.3 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.1725, allocations: 3.371 MB / 493.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.173, allocations: 0.826 MB / 494.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.421e-05/0.1731, allocations: 20.91 kB / 494.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1732, allocations: 115.4 kB / 494.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1732, allocations: 0 / 494.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.1931, allocations: 5.881 MB / 0.489 GB, free: 72 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/0.1934, allocations: 230.7 kB / 0.4892 GB, free: 15.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.14, allocations: 3.938 kB / 0.4892 GB, free: 15.81 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches