Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001254, allocations: 107.5 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.001202/0.001202, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 76.81 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1238, allocations: 62.45 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003332/0.1272, allocations: 1.67 MB / 481.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1282, allocations: 0.5456 MB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.1283, allocations: 0 / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1286, allocations: 75.77 kB / 481.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.1288, allocations: 91.77 kB / 481.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1291, allocations: 99.45 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1293, allocations: 87.73 kB / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.1294, allocations: 16 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/0.1295, allocations: 23.91 kB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1296, allocations: 55.83 kB / 482 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1296, allocations: 4 kB / 482 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-05/0.1297, allocations: 51.91 kB / 482.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.1298, allocations: 19.92 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.1298, allocations: 31.73 kB / 482.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.13, allocations: 107.9 kB / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.13, allocations: 3.938 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.13, allocations: 0 / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.13, allocations: 0 / 482.3 MB, free: 2.719 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.0005304/0.1305, allocations: 415 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1306, allocations: 12.88 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.1307, allocations: 30.75 kB / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.1307, allocations: 12.84 kB / 482.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.131, allocations: 206.6 kB / 482.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.131, allocations: 4.375 kB / 482.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.131, allocations: 4.375 kB / 482.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1312, allocations: 53.61 kB / 483 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1312, allocations: 3.906 kB / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1312, allocations: 4 kB / 483 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1312, allocations: 4 kB / 483 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.1313, allocations: 27.97 kB / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.1318, allocations: 300.7 kB / 483.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.132, allocations: 50.55 kB / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.132, allocations: 24.8 kB / 483.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1321, allocations: 8.062 kB / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1321, allocations: 30.56 kB / 483.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1321, allocations: 0 / 483.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009257/0.133, allocations: 249 kB / 483.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1331, allocations: 55.41 kB / 483.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1333, allocations: 210.8 kB / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1333, allocations: 25.7 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.1334, allocations: 108.1 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1334, allocations: 27.61 kB / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.1335, allocations: 21.72 kB / 484.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1336, allocations: 326.8 kB / 484.4 MB, free: 332 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1337, allocations: 31.97 kB / 484.5 MB, free: 300 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.1338, allocations: 27.98 kB / 484.5 MB, free: 272 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.134, allocations: 77.03 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.134, allocations: 0 / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002198/0.1342, allocations: 113.5 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1342, allocations: 8 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1342, allocations: 4 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1343, allocations: 0 / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.1344, allocations: 15.98 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1344, allocations: 3.938 kB / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.1344, allocations: 8 kB / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1344, allocations: 7.984 kB / 484.7 MB, free: 24 kB / 350.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 (8): * Single equations (assignments): 8 * 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.0001049/0.1345, allocations: 117.8 kB / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.1346, allocations: 19.75 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.1349, allocations: 142.9 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1349, allocations: 0 / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1349, allocations: 3.938 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1349, allocations: 4 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.1355, allocations: 419.3 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1355, allocations: 3.938 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.1356, allocations: 23.92 kB / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1356, allocations: 0 / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1356, allocations: 4 kB / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1356, allocations: 4 kB / 485.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1356, allocations: 0 / 485.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1359, allocations: 220.1 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1359, allocations: 88.95 kB / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.136, allocations: 0 / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.136, allocations: 7.984 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.1361, allocations: 4 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1361, allocations: 4 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1362, allocations: 168.7 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1363, allocations: 4 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1365, allocations: 20 kB / 485.9 MB, free: 14.68 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 (8): * Single equations (assignments): 8 * 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.001472/0.138, allocations: 1.103 MB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1382, allocations: 71.95 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1382, allocations: 0 / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.615e-05/0.1383, allocations: 43.92 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.1388, allocations: 19.98 kB / 487.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1407, allocations: 1.715 MB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1409, allocations: 0.716 MB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.141, allocations: 24.95 kB / 489.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.1411, allocations: 31.42 kB / 489.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of SimCode: time 4.498e-06/0.1411, allocations: 4 kB / 489.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.1543, allocations: 2.915 MB / 492.6 MB, free: 8.145 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.1546, allocations: 235.6 kB / 492.8 MB, free: 7.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.121, allocations: 0 / 492.8 MB, free: 7.887 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches