Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001314, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.09 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 80.2 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1436, allocations: 62.45 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.004188/0.1478, allocations: 1.74 MB / 481.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1492, allocations: 0.5767 MB / 481.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.1494, allocations: 4 kB / 481.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.1497, allocations: 47.81 kB / 481.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.15, allocations: 75.8 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.1505, allocations: 167 kB / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1507, allocations: 83.75 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1508, allocations: 28.2 kB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.1509, allocations: 31.8 kB / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.151, allocations: 51.81 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.151, allocations: 4 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.1512, allocations: 43.98 kB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.1513, allocations: 19.92 kB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.1514, allocations: 39.72 kB / 482.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1516, allocations: 111.9 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1516, allocations: 0 / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1516, allocations: 0 / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1516, allocations: 4 kB / 482.4 MB, free: 2.613 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.0005745/0.1522, allocations: 423 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1522, allocations: 8.875 kB / 482.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.1523, allocations: 38.73 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.1523, allocations: 16.75 kB / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1526, allocations: 196.1 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.1526, allocations: 4.375 kB / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1526, allocations: 4.375 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1528, allocations: 77.53 kB / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1528, allocations: 0 / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1529, allocations: 4 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1529, allocations: 4 kB / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.153, allocations: 35.97 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.1535, allocations: 336.6 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1538, allocations: 58.55 kB / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.1539, allocations: 28.97 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1539, allocations: 3.984 kB / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1539, allocations: 38.5 kB / 483.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1539, allocations: 0 / 483.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.1555, allocations: 424.8 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1555, allocations: 55.41 kB / 484.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1557, allocations: 186.2 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1557, allocations: 29.7 kB / 484.3 MB, free: 488 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1558, allocations: 108 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.1558, allocations: 31.47 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.1559, allocations: 29.7 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.156, allocations: 322.8 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1562, allocations: 55.95 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1563, allocations: 51.97 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.1566, allocations: 124.8 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1566, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003406/0.157, allocations: 170 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.157, allocations: 4 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.157, allocations: 4 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.157, allocations: 3.938 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1571, allocations: 31.97 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1572, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.1572, allocations: 11.98 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1573, allocations: 4 kB / 485.3 MB, free: 15.52 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 (11): * Single equations (assignments): 11 * 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.0001083/0.1574, allocations: 125.8 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.1574, allocations: 15.81 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.1579, allocations: 194.2 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1579, allocations: 3.938 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1579, allocations: 0 / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1579, allocations: 0 / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.1586, allocations: 0.5039 MB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1586, allocations: 0 / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1587, allocations: 23.98 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1587, allocations: 0 / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1587, allocations: 7.984 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1587, allocations: 0 / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1588, allocations: 12 kB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.1592, allocations: 277.5 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.1592, allocations: 85.02 kB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1593, allocations: 7.984 kB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1594, allocations: 19.98 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.1594, allocations: 7.984 kB / 486.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1594, allocations: 4 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1596, allocations: 143.2 kB / 486.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1596, allocations: 0 / 486.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1599, allocations: 28 kB / 486.7 MB, free: 13.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001664/0.1615, allocations: 1.16 MB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.1619, allocations: 123.9 kB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1619, allocations: 0 / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1621, allocations: 75.89 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1625, allocations: 15.98 kB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.1648, allocations: 1.914 MB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1651, allocations: 0.716 MB / 490.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.778e-05/0.1652, allocations: 28.53 kB / 490.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.1653, allocations: 43.42 kB / 490.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1653, allocations: 0 / 490.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.1797, allocations: 3.194 MB / 494 MB, free: 6.801 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.1799, allocations: 227.7 kB / 494.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.139, allocations: 3.938 kB / 494.2 MB, free: 6.547 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches