Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 93.56 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.001585/0.001585, allocations: 203 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.359/1.359, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002333, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 63.57 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001624/0.1048, allocations: 1.326 MB / 484.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.1056, allocations: 0.5223 MB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.1056, allocations: 0 / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1059, allocations: 123.7 kB / 485.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1061, allocations: 111.7 kB / 485.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1063, allocations: 83.45 kB / 485.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1065, allocations: 87.86 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.1066, allocations: 8 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.1066, allocations: 55.75 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1067, allocations: 83.78 kB / 485.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1068, allocations: 0 / 485.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.1069, allocations: 43.98 kB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1069, allocations: 23.86 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.107, allocations: 61.38 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1071, allocations: 119.9 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1071, allocations: 0 / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1071, allocations: 0 / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.1071, allocations: 0 / 485.8 MB, free: 1.418 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.0003913/0.1075, allocations: 425.1 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1076, allocations: 12.88 kB / 486.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.1076, allocations: 34.75 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.1076, allocations: 16.75 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.1078, allocations: 207.9 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.1078, allocations: 384 / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1078, allocations: 4.375 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.108, allocations: 65.61 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.108, allocations: 0 / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.108, allocations: 0 / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.108, allocations: 0 / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.1081, allocations: 35.91 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.1084, allocations: 300.8 kB / 486.9 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.391e-05/0.1085, allocations: 46.56 kB / 486.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.1086, allocations: 24.88 kB / 487 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1086, allocations: 4 kB / 487 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.1086, allocations: 30.56 kB / 487 MB, free: 68 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1087, allocations: 0 / 487 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008328/0.1095, allocations: 272.9 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.1095, allocations: 51.41 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1098, allocations: 283.7 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1098, allocations: 25.7 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.1099, allocations: 124 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1099, allocations: 19.72 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.1099, allocations: 17.7 kB / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.11, allocations: 322.8 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.1101, allocations: 31.98 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.1102, allocations: 28.05 kB / 488.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.1103, allocations: 76.77 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1103, allocations: 0 / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002238/0.1106, allocations: 125.5 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1106, allocations: 4 kB / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1106, allocations: 0 / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.1106, allocations: 0 / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.1107, allocations: 19.98 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1107, allocations: 7.938 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.1108, allocations: 11.94 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1108, allocations: 0 / 488.4 MB, free: 14.61 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 8.996e-05/0.1109, allocations: 141.8 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.1109, allocations: 15.81 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.1112, allocations: 127 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1112, allocations: 0 / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1112, allocations: 7.922 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1112, allocations: 7.938 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.1117, allocations: 415.3 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1117, allocations: 0 / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.1118, allocations: 31.89 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1118, allocations: 4 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.1118, allocations: 0 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1118, allocations: 0 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1118, allocations: 0 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1121, allocations: 224.6 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.1121, allocations: 96.84 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1122, allocations: 0 / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.1122, allocations: 4 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.1123, allocations: 11.98 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.1123, allocations: 4 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1124, allocations: 213.5 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.1124, allocations: 0 / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1127, allocations: 19.94 kB / 489.7 MB, free: 13.2 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.001286/0.114, allocations: 1.093 MB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1142, allocations: 79.89 kB / 490.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1142, allocations: 0 / 490.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.1143, allocations: 35.98 kB / 490.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1146, allocations: 21.33 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1164, allocations: 1.863 MB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1167, allocations: 0.7218 MB / 493.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.1167, allocations: 12.97 kB / 493.5 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.1168, allocations: 35.42 kB / 493.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1168, allocations: 4 kB / 493.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.1293, allocations: 2.936 MB / 496.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.1296, allocations: 232 kB / 496.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.916, allocations: 0 / 496.7 MB, free: 6.277 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches