Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001814/0.001814, 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.002323/0.002323, 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.479/1.479, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2786/0.2786, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001685, allocations: 85.09 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1197, allocations: 62.45 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003834/0.1236, allocations: 2.069 MB / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1258, allocations: 1.251 MB / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.1261, allocations: 4 kB / 482.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1264, allocations: 35.77 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.127, allocations: 187.4 kB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1281, allocations: 401.3 kB / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.1287, allocations: 291.1 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.1289, allocations: 53 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/0.1293, allocations: 119.4 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.1297, allocations: 187.3 kB / 484 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.1298, allocations: 8 kB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.1301, allocations: 55.98 kB / 484 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.1303, allocations: 147.5 kB / 484.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.1305, allocations: 170.6 kB / 484.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000645/0.1312, allocations: 378.5 kB / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1312, allocations: 0 / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1312, allocations: 0 / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.1312, allocations: 0 / 484.7 MB, free: 300 kB / 350.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.001358/0.1326, allocations: 0.8046 MB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1326, allocations: 12.81 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.1327, allocations: 38.75 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/0.1331, allocations: 76.16 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/0.1337, allocations: 475.7 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1338, allocations: 8.375 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.1338, allocations: 11.94 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1341, allocations: 135.2 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1341, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1342, allocations: 4 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1342, allocations: 4 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.1344, allocations: 71.89 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1356, allocations: 0.6916 MB / 487 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1358, allocations: 113.1 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1359, allocations: 37.83 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.136, allocations: 15.91 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.136, allocations: 34.56 kB / 487.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.136, allocations: 224 / 487.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001693/0.1377, allocations: 0.5251 MB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1378, allocations: 81.05 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.139, allocations: 0.9181 MB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.139, allocations: 33.7 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.1392, allocations: 264.2 kB / 489 MB, free: 11.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.1393, allocations: 47.27 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.1393, allocations: 33.7 kB / 489.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1395, allocations: 378.7 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.1397, allocations: 60.7 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1399, allocations: 73.56 kB / 489.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.1402, allocations: 129.8 kB / 489.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1402, allocations: 8 kB / 489.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004976/0.1408, allocations: 232.8 kB / 490 MB, free: 10.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1408, allocations: 4 kB / 490 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1408, allocations: 4 kB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1408, allocations: 4 kB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.141, allocations: 35.97 kB / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1411, allocations: 0 / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1412, allocations: 19.98 kB / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.1412, allocations: 4 kB / 490 MB, free: 10.67 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 (16): * Single equations (assignments): 16 * 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.0002204/0.1415, allocations: 213.7 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1416, allocations: 55.25 kB / 490.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.1422, allocations: 270.4 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1422, allocations: 4 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1422, allocations: 0 / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1422, allocations: 0 / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.1434, allocations: 0.7944 MB / 491.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1435, allocations: 4 kB / 491.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.1436, allocations: 35.91 kB / 491.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1436, allocations: 4 kB / 491.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1437, allocations: 0 / 491.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.1437, allocations: 7.938 kB / 491.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1437, allocations: 0 / 491.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.1442, allocations: 398 kB / 491.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.1444, allocations: 156.3 kB / 492 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.1445, allocations: 7.938 kB / 492 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1447, allocations: 15.94 kB / 492 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.1448, allocations: 31.84 kB / 492 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1448, allocations: 4 kB / 492 MB, free: 8.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007923/0.1456, allocations: 0.6747 MB / 492.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1456, allocations: 0 / 492.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.146, allocations: 48 kB / 492.7 MB, free: 7.867 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 (16): * Single equations (assignments): 16 * 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.001784/0.1478, allocations: 1.232 MB / 494 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004173/0.1482, allocations: 139.8 kB / 494.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1482, allocations: 0 / 494.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.1484, allocations: 87.83 kB / 494.2 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.1491, allocations: 70.95 kB / 494.3 MB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/0.1563, allocations: 5.312 MB / 499.6 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.1568, allocations: 0.8616 MB / 0.4887 GB, free: 172 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.157, allocations: 83.23 kB / 0.4888 GB, free: 84 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.1573, allocations: 175.4 kB / 0.489 GB, free: 15.91 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1573, allocations: 0 / 0.489 GB, free: 15.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.1811, allocations: 9.418 MB / 0.4982 GB, free: 6.574 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.1813, allocations: 227.7 kB / 0.4984 GB, free: 6.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/2.318, allocations: 0 / 0.4984 GB, free: 6.324 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches