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.0007629/0.0007628, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 246.8 MB, free: 11.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2001/0.2001, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002606, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 63.55 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002063/0.1206, allocations: 1.341 MB / 484.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1217, allocations: 0.5301 MB / 485 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.1218, allocations: 4 kB / 485.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.122, allocations: 67.84 kB / 485.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.1223, allocations: 83.72 kB / 485.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1227, allocations: 103.3 kB / 485.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1228, allocations: 75.86 kB / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.1229, allocations: 16 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.792e-05/0.123, allocations: 43.77 kB / 485.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1231, allocations: 47.78 kB / 485.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1231, allocations: 0 / 485.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1233, allocations: 43.97 kB / 485.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.1233, allocations: 23.92 kB / 485.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.1234, allocations: 53.44 kB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1236, allocations: 108 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1236, allocations: 0 / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1236, allocations: 3.938 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1236, allocations: 0 / 485.7 MB, free: 1.496 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.0004666/0.1241, allocations: 399 kB / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1241, allocations: 12.88 kB / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.1241, allocations: 34.75 kB / 486.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.1242, allocations: 8.844 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1244, allocations: 206.7 kB / 486.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1244, allocations: 4.375 kB / 486.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1244, allocations: 384 / 486.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1246, allocations: 61.61 kB / 486.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1246, allocations: 0 / 486.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.1246, allocations: 0 / 486.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1246, allocations: 4 kB / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1247, allocations: 35.91 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.1252, allocations: 312.7 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1253, allocations: 42.56 kB / 486.8 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.1254, allocations: 28.88 kB / 486.8 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1254, allocations: 4.062 kB / 486.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1255, allocations: 34.56 kB / 486.9 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1255, allocations: 0 / 486.9 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009672/0.1264, allocations: 273.4 kB / 487.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1265, allocations: 55.34 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1267, allocations: 210.8 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1267, allocations: 33.7 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.1268, allocations: 104.1 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1268, allocations: 23.7 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.1268, allocations: 13.72 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.127, allocations: 326.8 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/0.1271, allocations: 39.97 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.1271, allocations: 27.98 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1273, allocations: 92.75 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1273, allocations: 0 / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002382/0.1276, allocations: 129.7 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1276, allocations: 8 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1276, allocations: 0 / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1276, allocations: 3.938 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1277, allocations: 23.98 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1277, allocations: 3.938 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.1278, allocations: 7.984 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.1278, allocations: 4 kB / 488.2 MB, free: 14.75 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 (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 9.92e-05/0.1279, allocations: 129.8 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.128, allocations: 11.81 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.1283, allocations: 147 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1283, allocations: 0 / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1283, allocations: 3.938 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1283, allocations: 0 / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.1288, allocations: 427.3 kB / 488.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1288, allocations: 0 / 488.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.773e-05/0.1289, allocations: 27.86 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1289, allocations: 0 / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1289, allocations: 4 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1289, allocations: 0 / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1289, allocations: 8.016 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.1292, allocations: 216.2 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.1293, allocations: 92.95 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1293, allocations: 11.98 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.1294, allocations: 7.938 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.1294, allocations: 11.97 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1294, allocations: 4 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1295, allocations: 164.7 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.1296, allocations: 0 / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1298, allocations: 23.94 kB / 489.5 MB, free: 13.37 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.00136/0.1312, allocations: 1.104 MB / 490.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1314, allocations: 79.89 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1314, allocations: 4 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.1315, allocations: 43.97 kB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1318, allocations: 13.72 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1337, allocations: 1.758 MB / 492.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1339, allocations: 0.7121 MB / 493.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.864e-05/0.134, allocations: 20.97 kB / 493.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.1341, allocations: 35.42 kB / 493.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1341, allocations: 96 / 493.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.1464, allocations: 2.723 MB / 496 MB, free: 7.02 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.1466, allocations: 242.9 kB / 496.2 MB, free: 6.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/1.978, allocations: 0 / 496.2 MB, free: 6.758 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