Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 82.52 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002511/0.1063, allocations: 1.596 MB / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1077, allocations: 1.167 MB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.1078, allocations: 0 / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.108, allocations: 23.84 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.1082, allocations: 87.62 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1085, allocations: 111.7 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1086, allocations: 63.89 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.103e-05/0.1087, allocations: 12 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.1088, allocations: 27.86 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1089, allocations: 43.77 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1089, allocations: 4 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.1091, allocations: 87.94 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.1091, allocations: 15.94 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.1092, allocations: 31.78 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1094, allocations: 132 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1094, allocations: 0 / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1094, allocations: 0 / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.1094, allocations: 0 / 483.5 MB, free: 1.777 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.0004277/0.1099, allocations: 403.1 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1099, allocations: 8.031 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.1099, allocations: 34.75 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.11, allocations: 8.844 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.1102, allocations: 199 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.1102, allocations: 8.312 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1102, allocations: 8.312 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1103, allocations: 63.33 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1104, allocations: 4 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1104, allocations: 0 / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.1104, allocations: 0 / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.47e-05/0.1105, allocations: 23.98 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.1108, allocations: 288.8 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.111, allocations: 46.55 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.111, allocations: 16.86 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1111, allocations: 4.078 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.1111, allocations: 34.56 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.1111, allocations: 0 / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005128/0.1116, allocations: 153.2 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.1116, allocations: 85.05 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1118, allocations: 144.3 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.1118, allocations: 29.7 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.1119, allocations: 96.12 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.1119, allocations: 15.72 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1119, allocations: 13.72 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.112, allocations: 326.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.1121, allocations: 19.98 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.1122, allocations: 41.64 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1123, allocations: 57 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1123, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.1125, allocations: 81.67 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1125, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1125, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1125, allocations: 4.266 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.1126, allocations: 16.03 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1126, allocations: 3.938 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.1127, allocations: 19.83 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1127, allocations: 0 / 485.7 MB, free: 15.32 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 6.477e-05/0.1127, allocations: 113.8 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1128, allocations: 7.984 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.113, allocations: 105.8 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.113, allocations: 4 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.113, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.113, allocations: 3.938 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.1134, allocations: 354.5 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1134, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.1135, allocations: 15.98 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1135, allocations: 0 / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1135, allocations: 11.88 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1135, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1135, allocations: 192 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.1137, allocations: 191.4 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.1138, allocations: 81.11 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1138, allocations: 3.938 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.1139, allocations: 11.92 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.1139, allocations: 8 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.1139, allocations: 4 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.935e-05/0.114, allocations: 113.3 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.114, allocations: 0 / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1143, allocations: 36 kB / 486.8 MB, free: 14.17 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.00128/0.1156, allocations: 1.105 MB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1157, allocations: 55.89 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1158, allocations: 0 / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.1158, allocations: 27.98 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.1161, allocations: 19.92 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.1175, allocations: 1.44 MB / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.1177, allocations: 0.6885 MB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.1178, allocations: 20.23 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.1178, allocations: 27.42 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1178, allocations: 0 / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.1488, allocations: 3.157 MB / 493.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.543, allocations: 11.45 kB / 493.3 MB, free: 7.711 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches