Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.001539, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001895/0.001895, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 77.44 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1016, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002543/0.1042, allocations: 1.665 MB / 481.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.105, allocations: 0.5223 MB / 481.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.1051, allocations: 3.938 kB / 481.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.1053, allocations: 15.92 kB / 481.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.1055, allocations: 71.75 kB / 481.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1058, allocations: 79.84 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1059, allocations: 63.84 kB / 482 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.106, allocations: 15.98 kB / 482 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.1061, allocations: 19.88 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.1061, allocations: 31.78 kB / 482.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1062, allocations: 4 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.1062, allocations: 31.98 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.1063, allocations: 11.98 kB / 482.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1063, allocations: 23.81 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.1065, allocations: 87.94 kB / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1065, allocations: 0 / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1065, allocations: 0 / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1065, allocations: 0 / 482.2 MB, free: 2.848 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.0004105/0.1069, allocations: 387.1 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1069, allocations: 8.031 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.107, allocations: 34.75 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.107, allocations: 12.83 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.1072, allocations: 184.2 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1072, allocations: 8.375 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1072, allocations: 4.375 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1073, allocations: 53.55 kB / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1074, allocations: 0 / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.1074, allocations: 0 / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1074, allocations: 4 kB / 482.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.27e-05/0.1075, allocations: 19.98 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.1078, allocations: 284.8 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.108, allocations: 50.44 kB / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.108, allocations: 16.94 kB / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.108, allocations: 0 / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.1081, allocations: 30.56 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1081, allocations: 0 / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000501/0.1086, allocations: 153.2 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.1086, allocations: 51.41 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1088, allocations: 165.8 kB / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1088, allocations: 25.7 kB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.1088, allocations: 96.14 kB / 483.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1089, allocations: 15.73 kB / 483.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1089, allocations: 21.72 kB / 483.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.109, allocations: 322.8 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.1091, allocations: 19.98 kB / 484.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.436e-05/0.1091, allocations: 16.05 kB / 484.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1092, allocations: 44.84 kB / 484.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1092, allocations: 3.938 kB / 484.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000161/0.1094, allocations: 85.56 kB / 484.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1094, allocations: 4 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1094, allocations: 0 / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1095, allocations: 7.938 kB / 484.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.1095, allocations: 11.98 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1095, allocations: 3.938 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.1096, allocations: 8 kB / 484.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1096, allocations: 288 / 484.3 MB, free: 0.5039 MB / 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 (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.339e-05/0.1097, allocations: 125.8 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1097, allocations: 7.906 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.1099, allocations: 93.89 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1099, allocations: 0 / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1099, allocations: 3.938 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1099, allocations: 0 / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.1103, allocations: 350.5 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1103, allocations: 0 / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.1104, allocations: 12.31 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.1104, allocations: 7.922 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1104, allocations: 7.938 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1104, allocations: 0 / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1104, allocations: 0 / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1106, allocations: 183.3 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.1107, allocations: 81.11 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1107, allocations: 7.922 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.1108, allocations: 4 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.1108, allocations: 4 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1108, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.673e-05/0.1109, allocations: 126.6 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1109, allocations: 3.938 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1111, allocations: 27.89 kB / 485.4 MB, free: 15.38 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.001128/0.1123, allocations: 0.9963 MB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1125, allocations: 55.89 kB / 486.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1125, allocations: 4 kB / 486.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.46e-05/0.1125, allocations: 23.98 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1128, allocations: 18.33 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.1142, allocations: 1.48 MB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1144, allocations: 0.6924 MB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.1145, allocations: 16.05 kB / 488.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.1145, allocations: 27.42 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1145, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4575/0.572, allocations: 2.397 MB / 491.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.5722, allocations: 243.5 kB / 491.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.361, allocations: 4 kB / 491.3 MB, free: 9.496 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches