Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 116.9 kB / 17.33 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001954/0.001954, allocations: 209.8 kB / 18.27 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2005/0.2005, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 74.05 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09945/0.1009, allocations: 62.44 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002822/0.1037, allocations: 1.657 MB / 481.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1052, allocations: 1.148 MB / 482.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.1053, allocations: 0 / 482.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1056, allocations: 19.86 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.1059, allocations: 71.81 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1062, allocations: 99.08 kB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1064, allocations: 67.83 kB / 482.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1065, allocations: 12 kB / 482.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.1065, allocations: 35.84 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1067, allocations: 39.78 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1067, allocations: 4 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.1069, allocations: 91.95 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.1069, allocations: 15.97 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.107, allocations: 31.73 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.1072, allocations: 128 kB / 483 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1072, allocations: 0 / 483 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1072, allocations: 4 kB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1073, allocations: 0 / 483 MB, free: 2.102 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004863/0.1077, allocations: 407.1 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1078, allocations: 12.03 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.1078, allocations: 34.75 kB / 483.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.1079, allocations: 4.844 kB / 483.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.1081, allocations: 198.8 kB / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.1081, allocations: 4.375 kB / 483.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1081, allocations: 384 / 483.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1083, allocations: 67.33 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1083, allocations: 0 / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1083, allocations: 8 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1083, allocations: 0 / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.771e-05/0.1084, allocations: 23.98 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1087, allocations: 280.8 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1089, allocations: 50.55 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.109, allocations: 16.86 kB / 484.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.109, allocations: 0 / 484.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1091, allocations: 30.56 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1091, allocations: 0 / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005327/0.1096, allocations: 161.3 kB / 484.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1096, allocations: 81.11 kB / 484.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1098, allocations: 145.8 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1098, allocations: 33.64 kB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.1099, allocations: 88.14 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1099, allocations: 19.7 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1099, allocations: 25.66 kB / 484.7 MB, free: 224 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.11, allocations: 318.8 kB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.1101, allocations: 27.98 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.1102, allocations: 41.7 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1103, allocations: 48.83 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1103, allocations: 0 / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001837/0.1105, allocations: 85.66 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1106, allocations: 4 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1106, allocations: 4.031 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1106, allocations: 0 / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.1107, allocations: 20.2 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1107, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.1107, allocations: 11.84 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1107, allocations: 3.984 kB / 485.2 MB, free: 15.64 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 (5): * Single equations (assignments): 5 * 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 7.689e-05/0.1108, allocations: 113.8 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.1109, allocations: 4 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.1111, allocations: 113.8 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1111, allocations: 0 / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1111, allocations: 0 / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1111, allocations: 3.938 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.1115, allocations: 358.5 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1115, allocations: 320 / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.1116, allocations: 20 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1116, allocations: 0 / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1116, allocations: 7.922 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1116, allocations: 4 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1116, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.1119, allocations: 179.4 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.1119, allocations: 81.11 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1119, allocations: 11.94 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.112, allocations: 4 kB / 486.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.112, allocations: 7.984 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1121, allocations: 3.938 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.268e-05/0.1121, allocations: 117.3 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1121, allocations: 0 / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1124, allocations: 32 kB / 486.3 MB, free: 14.5 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 (5): * Single equations (assignments): 5 * 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.001355/0.1138, allocations: 1.102 MB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.114, allocations: 67.83 kB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.114, allocations: 0 / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.1141, allocations: 23.98 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1144, allocations: 30.86 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1158, allocations: 1.44 MB / 488.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.116, allocations: 0.6963 MB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.1161, allocations: 20.2 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.1162, allocations: 31.41 kB / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1162, allocations: 0 / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.69/1.806, allocations: 3.07 MB / 492.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/1.806, allocations: 240.4 kB / 493 MB, free: 7.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.316/5.122, allocations: 0 / 493 MB, free: 7.887 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches