Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 114.1 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.001928/0.001928, 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.411/1.411, 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.2356/0.2356, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 75.12 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 62.45 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003726/0.1317, allocations: 1.68 MB / 481.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1328, allocations: 0.53 MB / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.1329, allocations: 4 kB / 481.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006455/0.1336, allocations: 451.2 kB / 482.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.1342, allocations: 279.5 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.1346, allocations: 115.4 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.1349, allocations: 167.6 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.135, allocations: 11.98 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.1352, allocations: 107.8 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1355, allocations: 227.5 kB / 483.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.1355, allocations: 4 kB / 483.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.1356, allocations: 27.98 kB / 483.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1357, allocations: 79.62 kB / 483.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.1358, allocations: 103 kB / 483.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1361, allocations: 255 kB / 483.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1361, allocations: 0 / 483.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1361, allocations: 0 / 483.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1361, allocations: 0 / 483.6 MB, free: 1.5 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.0007946/0.1369, allocations: 0.6455 MB / 484.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.137, allocations: 8.031 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.137, allocations: 30.75 kB / 484.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.1371, allocations: 44.38 kB / 484.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.1374, allocations: 300.1 kB / 484.6 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1375, allocations: 8.375 kB / 484.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1375, allocations: 8.312 kB / 484.6 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1377, allocations: 53.61 kB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1377, allocations: 0 / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1377, allocations: 4 kB / 484.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1377, allocations: 0 / 484.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1378, allocations: 27.97 kB / 484.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.1384, allocations: 384.8 kB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1385, allocations: 42.5 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/0.1386, allocations: 20.94 kB / 485.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1387, allocations: 4 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1387, allocations: 38.56 kB / 485.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1387, allocations: 0 / 485.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003517/0.139, allocations: 121.1 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1391, allocations: 55.34 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.14, allocations: 0.866 MB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.14, allocations: 25.7 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1402, allocations: 216 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1402, allocations: 23.75 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1402, allocations: 17.7 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1404, allocations: 362.7 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.1405, allocations: 11.98 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.1405, allocations: 15.98 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1407, allocations: 41.09 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1407, allocations: 4 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002017/0.1409, allocations: 105.2 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1409, allocations: 11.94 kB / 487.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1409, allocations: 3.984 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1409, allocations: 0 / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.141, allocations: 11.94 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1411, allocations: 0 / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.1411, allocations: 11.89 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1412, allocations: 0 / 487.1 MB, free: 13.78 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 (3): * Single equations (assignments): 3 * 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.0001853/0.1413, allocations: 213.7 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.1414, allocations: 35.53 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.1417, allocations: 125.1 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1417, allocations: 0 / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1417, allocations: 0 / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1417, allocations: 4 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.142, allocations: 289.5 kB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.142, allocations: 11.94 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.1421, allocations: 4 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1421, allocations: 0 / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1421, allocations: 4 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1421, allocations: 3.984 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1421, allocations: 0 / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1424, allocations: 202.9 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.1425, allocations: 116.5 kB / 488.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1425, allocations: 0 / 488.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1426, allocations: 4 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.1426, allocations: 3.984 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1426, allocations: 0 / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006142/0.1433, allocations: 0.655 MB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1433, allocations: 0 / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1436, allocations: 20 kB / 488.8 MB, free: 12.01 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 (3): * Single equations (assignments): 3 * 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.001354/0.1449, allocations: 1.006 MB / 489.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1451, allocations: 35.97 kB / 489.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1451, allocations: 0 / 489.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/0.1452, allocations: 23.92 kB / 489.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.1456, allocations: 22.3 kB / 489.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.1496, allocations: 3.259 MB / 493.1 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.15, allocations: 0.8182 MB / 493.9 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.1501, allocations: 8 kB / 493.9 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.1502, allocations: 115.4 kB / 494 MB, free: 6.688 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1502, allocations: 4 kB / 494 MB, free: 6.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/0.197, allocations: 5.539 MB / 499.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.1973, allocations: 241 kB / 499.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.189, allocations: 7.938 kB / 499.8 MB, free: 0.9609 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches