Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 108.7 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.001511, allocations: 201.8 kB / 18.26 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.09 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 76.69 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1315, allocations: 62.43 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003967/0.1355, allocations: 1.727 MB / 481.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1374, allocations: 1.152 MB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.1376, allocations: 0 / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1378, allocations: 23.92 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.1382, allocations: 75.75 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.1386, allocations: 115.3 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1388, allocations: 75.77 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1389, allocations: 15.98 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.139, allocations: 27.92 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1392, allocations: 43.77 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1392, allocations: 4 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.1394, allocations: 99.88 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-05/0.1395, allocations: 15.98 kB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.1395, allocations: 27.8 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1399, allocations: 151.9 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1399, allocations: 0 / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1399, allocations: 0 / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1399, allocations: 4 kB / 483.1 MB, free: 1.934 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.0007073/0.1406, allocations: 419.1 kB / 483.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1407, allocations: 15.97 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.1407, allocations: 34.73 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.1408, allocations: 8.844 kB / 483.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1411, allocations: 200.1 kB / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1411, allocations: 384 / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.1411, allocations: 4.375 kB / 483.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.1413, allocations: 83.27 kB / 483.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1414, allocations: 0 / 483.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1414, allocations: 0 / 483.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1414, allocations: 4 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1416, allocations: 35.95 kB / 483.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.142, allocations: 292.8 kB / 484.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1422, allocations: 50.48 kB / 484.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.1423, allocations: 28.88 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1423, allocations: 0 / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.1423, allocations: 30.56 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1424, allocations: 0 / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008669/0.1432, allocations: 217.1 kB / 484.5 MB, free: 364 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.1433, allocations: 81.09 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1435, allocations: 160.4 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1435, allocations: 25.7 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.1436, allocations: 100.1 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1437, allocations: 19.72 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.1437, allocations: 21.7 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1439, allocations: 318.8 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.144, allocations: 27.97 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1441, allocations: 57.75 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.1443, allocations: 76.73 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1443, allocations: 0 / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002723/0.1446, allocations: 113.5 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1446, allocations: 6.5 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1446, allocations: 4.031 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1447, allocations: 4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1448, allocations: 15.98 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1448, allocations: 4 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.1449, allocations: 15.86 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1449, allocations: 7.938 kB / 485.6 MB, free: 15.25 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 (7): * Single equations (assignments): 7 * 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 9.213e-05/0.145, allocations: 125.8 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.145, allocations: 11.91 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.1454, allocations: 122.6 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1454, allocations: 4 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1454, allocations: 0 / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1454, allocations: 3.938 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.146, allocations: 402.3 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.146, allocations: 4 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.721e-05/0.1461, allocations: 15.98 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1461, allocations: 0 / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1461, allocations: 7.938 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1461, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1461, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.1465, allocations: 211.4 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.1466, allocations: 92.94 kB / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1466, allocations: 7.938 kB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1467, allocations: 7.984 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1468, allocations: 11.98 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1468, allocations: 3.938 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1469, allocations: 126 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1469, allocations: 0 / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000307/0.1472, allocations: 36 kB / 486.7 MB, free: 13.98 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 (7): * Single equations (assignments): 7 * 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.001762/0.149, allocations: 1.13 MB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.1493, allocations: 79.88 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1493, allocations: 0 / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1495, allocations: 51.89 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1499, allocations: 19 kB / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.152, allocations: 1.602 MB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1523, allocations: 0.6926 MB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.421e-05/0.1524, allocations: 16.97 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.1525, allocations: 39.39 kB / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1525, allocations: 4 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.1695, allocations: 3.315 MB / 493.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003182/0.1698, allocations: 240.5 kB / 493.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.152, allocations: 0 / 493.9 MB, free: 6.902 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches