Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001284, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.1 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 78.25 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1389, allocations: 62.44 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003818/0.1428, allocations: 1.988 MB / 481.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1446, allocations: 0.9702 MB / 482.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1448, allocations: 0 / 482.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.1453, allocations: 255.4 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005363/0.1459, allocations: 227.4 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.147, allocations: 453.5 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.1474, allocations: 279.2 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1476, allocations: 40.72 kB / 483.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1478, allocations: 127.4 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.1481, allocations: 183.3 kB / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.1481, allocations: 8 kB / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1483, allocations: 47.98 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.1484, allocations: 91.61 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1486, allocations: 122.9 kB / 484.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1489, allocations: 279.2 kB / 484.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.149, allocations: 0 / 484.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.149, allocations: 0 / 484.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.149, allocations: 4 kB / 484.4 MB, free: 0.5625 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009444/0.1499, allocations: 0.6533 MB / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.15, allocations: 8.875 kB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.15, allocations: 42.73 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.681e-05/0.1502, allocations: 36.47 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.1506, allocations: 334 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1506, allocations: 8.375 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1506, allocations: 4.375 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1509, allocations: 80.42 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1509, allocations: 0 / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1509, allocations: 11.98 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1509, allocations: 0 / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.1511, allocations: 51.97 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/0.1518, allocations: 452.4 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.1519, allocations: 62.5 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.152, allocations: 24.97 kB / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1521, allocations: 0 / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1521, allocations: 38.55 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.1521, allocations: 4 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003748/0.1525, allocations: 125.2 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1525, allocations: 59.34 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.1532, allocations: 0.5916 MB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1532, allocations: 29.7 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1534, allocations: 208.1 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1534, allocations: 19.64 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.1535, allocations: 21.72 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1536, allocations: 354.7 kB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.1537, allocations: 15.98 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.1537, allocations: 23.98 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1539, allocations: 48.84 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1539, allocations: 0 / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002476/0.1541, allocations: 113.2 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1542, allocations: 8 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1542, allocations: 0 / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1542, allocations: 3.938 kB / 487.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1543, allocations: 15.92 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1543, allocations: 0 / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.1544, allocations: 15.88 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1544, allocations: 4 kB / 487.8 MB, free: 12.91 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 (6): * Single equations (assignments): 6 * 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.0001625/0.1546, allocations: 169.8 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.1547, allocations: 39.44 kB / 488 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.155, allocations: 129.2 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.155, allocations: 3.938 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.155, allocations: 4 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.155, allocations: 4 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.1554, allocations: 293.5 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1554, allocations: 4.5 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.1555, allocations: 15.92 kB / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1555, allocations: 0 / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1555, allocations: 8 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1555, allocations: 3.938 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1555, allocations: 0 / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.1558, allocations: 215.1 kB / 488.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/0.1559, allocations: 112.6 kB / 488.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.1559, allocations: 3.984 kB / 488.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.156, allocations: 7.938 kB / 488.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.1561, allocations: 4 kB / 488.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1561, allocations: 3.938 kB / 488.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.1566, allocations: 447.1 kB / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1566, allocations: 0 / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1569, allocations: 35.84 kB / 489.3 MB, free: 11.33 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 (6): * Single equations (assignments): 6 * 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.001895/0.1588, allocations: 1.23 MB / 490.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.159, allocations: 55.91 kB / 490.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.159, allocations: 7.938 kB / 490.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.252e-05/0.1591, allocations: 27.98 kB / 490.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.1596, allocations: 65.84 kB / 490.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.1635, allocations: 2.935 MB / 493.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.164, allocations: 0.8025 MB / 494.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1641, allocations: 37.45 kB / 494.5 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1642, allocations: 111.4 kB / 494.6 MB, free: 6.168 MB / 366.1 MB Notification: Performance of SimCode: time 2.124e-06/0.1643, allocations: 0 / 494.6 MB, free: 6.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.1832, allocations: 6.469 MB / 0.4893 GB, free: 15.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.1835, allocations: 232.6 kB / 0.4895 GB, free: 15.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.261, allocations: 0 / 0.4895 GB, free: 15.53 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches