Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000849/0.000849, allocations: 94 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009328/0.0009328, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002735, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002253/0.1255, allocations: 1.747 MB / 484.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1272, allocations: 1.087 MB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.1273, allocations: 0 / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.1278, allocations: 255.4 kB / 486.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.1282, allocations: 235.3 kB / 486.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1294, allocations: 0.6136 MB / 487.1 MB, free: 156 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.1298, allocations: 327.1 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.13, allocations: 88.95 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1302, allocations: 119.4 kB / 487.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1304, allocations: 187.2 kB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1304, allocations: 8 kB / 487.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.1306, allocations: 95.89 kB / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1308, allocations: 95.66 kB / 488 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1309, allocations: 144.6 kB / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1312, allocations: 346.6 kB / 488.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1312, allocations: 0 / 488.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1312, allocations: 0 / 488.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1312, allocations: 3.938 kB / 488.5 MB, free: 14.76 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006725/0.1319, allocations: 0.6302 MB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.132, allocations: 16.88 kB / 489.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.132, allocations: 42.73 kB / 489.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.1321, allocations: 44.38 kB / 489.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1324, allocations: 346 kB / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1325, allocations: 12.31 kB / 489.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.1325, allocations: 12.38 kB / 489.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.1328, allocations: 129.5 kB / 489.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1328, allocations: 0 / 489.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1328, allocations: 4 kB / 489.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1328, allocations: 8 kB / 489.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.133, allocations: 91.88 kB / 489.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.1337, allocations: 0.5352 MB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1339, allocations: 114.5 kB / 490.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.831e-05/0.134, allocations: 44.83 kB / 490.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1341, allocations: 4 kB / 490.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1341, allocations: 34.5 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1341, allocations: 4 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001035/0.1351, allocations: 466.5 kB / 491 MB, free: 12.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1352, allocations: 59.41 kB / 491.1 MB, free: 12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.1358, allocations: 0.5957 MB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1358, allocations: 29.7 kB / 491.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.136, allocations: 228.2 kB / 491.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.1361, allocations: 47.2 kB / 491.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.1361, allocations: 21.7 kB / 492 MB, free: 11.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1362, allocations: 358.8 kB / 492.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1364, allocations: 71.95 kB / 492.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1365, allocations: 75.86 kB / 492.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.1368, allocations: 160.7 kB / 492.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1368, allocations: 4 kB / 492.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00037/0.1372, allocations: 239.5 kB / 492.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1372, allocations: 4 kB / 492.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1372, allocations: 0 / 492.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1372, allocations: 0 / 492.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1374, allocations: 43.91 kB / 492.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1374, allocations: 4 kB / 492.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.1375, allocations: 15.91 kB / 492.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1375, allocations: 4 kB / 492.9 MB, free: 10.08 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 (17): * Single equations (assignments): 17 * 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.0001583/0.1377, allocations: 181.7 kB / 493.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.1377, allocations: 43.44 kB / 493.1 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.1383, allocations: 297.7 kB / 493.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1383, allocations: 7.938 kB / 493.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1383, allocations: 0 / 493.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1383, allocations: 7.969 kB / 493.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000821/0.1391, allocations: 0.7109 MB / 494.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1391, allocations: 0 / 494.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.1393, allocations: 35.92 kB / 494.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1393, allocations: 0 / 494.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1393, allocations: 4 kB / 494.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1393, allocations: 7.938 kB / 494.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1393, allocations: 3.938 kB / 494.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.1397, allocations: 342.8 kB / 494.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.1398, allocations: 128.5 kB / 494.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.1399, allocations: 8 kB / 494.7 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.14, allocations: 11.94 kB / 494.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.14, allocations: 19.97 kB / 494.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.14, allocations: 4 kB / 494.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004274/0.1405, allocations: 450.8 kB / 495.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1405, allocations: 0 / 495.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.1408, allocations: 48 kB / 495.2 MB, free: 7.691 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 (17): * Single equations (assignments): 17 * 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.002084/0.1429, allocations: 1.464 MB / 496.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.1432, allocations: 174 kB / 496.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1432, allocations: 0 / 496.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1434, allocations: 103.8 kB / 496.9 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.1439, allocations: 73.8 kB / 497 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.1482, allocations: 3.494 MB / 0.4888 GB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1486, allocations: 0.8376 MB / 0.4896 GB, free: 1.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.1488, allocations: 58.23 kB / 0.4897 GB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.1489, allocations: 135.4 kB / 0.4898 GB, free: 1.516 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.149, allocations: 0 / 0.4898 GB, free: 1.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.1691, allocations: 7.248 MB / 0.4969 GB, free: 10.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.1693, allocations: 235.4 kB / 0.4971 GB, free: 10.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.147, allocations: 4.062 kB / 0.4971 GB, free: 10.11 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches