Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2484/0.2484, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001606, allocations: 75.06 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1275, allocations: 62.44 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003719/0.1312, allocations: 2.159 MB / 481.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1333, allocations: 1.278 MB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.1336, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1338, allocations: 35.72 kB / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.1344, allocations: 195.3 kB / 483.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1355, allocations: 428.7 kB / 483.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.1359, allocations: 327 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.1361, allocations: 64.98 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.1364, allocations: 147.3 kB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.1367, allocations: 195.2 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.1367, allocations: 16 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1369, allocations: 75.91 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.137, allocations: 139.6 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1372, allocations: 182.5 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.1376, allocations: 414.4 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.1377, allocations: 4 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.778e-06/0.1377, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.1377, allocations: 3.938 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001431/0.1391, allocations: 0.8318 MB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1392, allocations: 8.031 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.1392, allocations: 46.75 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.1397, allocations: 96.05 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.1405, allocations: 496.3 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1405, allocations: 4.375 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1405, allocations: 19.88 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.1409, allocations: 150.2 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1409, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1409, allocations: 4 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1409, allocations: 7.938 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.1412, allocations: 99.86 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.1422, allocations: 0.6995 MB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1425, allocations: 117.2 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.1427, allocations: 65.8 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.1427, allocations: 8 kB / 487.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1427, allocations: 34.5 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.1427, allocations: 0 / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001983/0.1447, allocations: 0.6888 MB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.1448, allocations: 81.11 kB / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.1459, allocations: 0.926 MB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1459, allocations: 25.7 kB / 489.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1461, allocations: 280.3 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.1462, allocations: 63.09 kB / 489.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.1463, allocations: 33.7 kB / 490 MB, free: 10.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1464, allocations: 321.9 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.1467, allocations: 87.94 kB / 490.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.147, allocations: 109.6 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.1475, allocations: 213.7 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1475, allocations: 0.75 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006596/0.1481, allocations: 308.7 kB / 491 MB, free: 9.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1482, allocations: 4 kB / 491 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1482, allocations: 0 / 491 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1482, allocations: 4 kB / 491 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.1485, allocations: 47.95 kB / 491 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1485, allocations: 7.938 kB / 491 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.1487, allocations: 31.88 kB / 491.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1487, allocations: 4 kB / 491.1 MB, free: 9.734 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002084/0.149, allocations: 221.7 kB / 491.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1491, allocations: 59.25 kB / 491.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.1498, allocations: 358.8 kB / 491.7 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.1498, allocations: 4.219 kB / 491.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1499, allocations: 0 / 491.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1499, allocations: 8.016 kB / 491.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.1512, allocations: 0.9033 MB / 492.6 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1512, allocations: 0 / 492.6 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.1515, allocations: 51.89 kB / 492.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1515, allocations: 0 / 492.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.1515, allocations: 11.98 kB / 492.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1515, allocations: 3.938 kB / 492.7 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1515, allocations: 8 kB / 492.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.1523, allocations: 480.1 kB / 493.2 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.1525, allocations: 152.3 kB / 493.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.1525, allocations: 8 kB / 493.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.1528, allocations: 27.91 kB / 493.3 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.1529, allocations: 15.98 kB / 493.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1529, allocations: 7.984 kB / 493.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007195/0.1536, allocations: 0.6786 MB / 494 MB, free: 6.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1536, allocations: 0 / 494 MB, free: 6.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.154, allocations: 56 kB / 494.1 MB, free: 6.602 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.002017/0.156, allocations: 1.311 MB / 495.4 MB, free: 5.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000634/0.1567, allocations: 227.7 kB / 495.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1567, allocations: 4 kB / 495.6 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.157, allocations: 127.8 kB / 495.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.1576, allocations: 84.05 kB / 495.8 MB, free: 4.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.1647, allocations: 5.587 MB / 0.4897 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.1653, allocations: 0.8772 MB / 0.4905 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.1655, allocations: 95.19 kB / 0.4906 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.1658, allocations: 188.1 kB / 0.4908 GB, free: 14.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1658, allocations: 0 / 0.4908 GB, free: 14.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.1887, allocations: 10.02 MB / 0.5006 GB, free: 4.176 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.1889, allocations: 228.8 kB / 0.5008 GB, free: 3.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.404, allocations: 0 / 0.5008 GB, free: 3.926 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches