Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 110.2 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002314/0.002314, allocations: 223.3 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.212/0.212, allocations: 44.24 MB / 330.3 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 63.91 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1138, allocations: 61.07 MB / 0.5162 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.003223/0.117, allocations: 1.568 MB / 0.5177 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000626/0.1176, allocations: 319.5 kB / 0.518 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.1177, allocations: 4 kB / 0.518 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.1183, allocations: 455.1 kB / 0.5184 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.1187, allocations: 247.5 kB / 0.5187 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1191, allocations: 107.8 kB / 0.5188 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.1193, allocations: 155.7 kB / 0.5189 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.1194, allocations: 12.25 kB / 0.5189 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1196, allocations: 111.7 kB / 0.5191 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.1199, allocations: 239.5 kB / 0.5193 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1199, allocations: 4 kB / 0.5193 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.12, allocations: 19.98 kB / 0.5193 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1201, allocations: 87.62 kB / 0.5194 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.1201, allocations: 95.06 kB / 0.5195 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1205, allocations: 250.6 kB / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1205, allocations: 0 / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1205, allocations: 4 kB / 0.5197 GB, free: 3.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1205, allocations: 0 / 0.5197 GB, free: 3.664 MB / 398.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.0007361/0.1212, allocations: 0.5659 MB / 0.5203 GB, free: 3.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1212, allocations: 12.03 kB / 0.5203 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.1213, allocations: 42.73 kB / 0.5203 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.1213, allocations: 40.66 kB / 0.5204 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.1216, allocations: 238.8 kB / 0.5206 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1216, allocations: 384 / 0.5206 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.1216, allocations: 384 / 0.5206 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1218, allocations: 65.55 kB / 0.5207 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1218, allocations: 0 / 0.5207 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1218, allocations: 0 / 0.5207 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1218, allocations: 0 / 0.5207 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.1219, allocations: 23.92 kB / 0.5207 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.1223, allocations: 347.8 kB / 0.521 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.1224, allocations: 34.56 kB / 0.521 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.1225, allocations: 12.92 kB / 0.5211 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1225, allocations: 0 / 0.5211 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.1225, allocations: 42.48 kB / 0.5211 GB, free: 2.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1225, allocations: 0 / 0.5211 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002546/0.1228, allocations: 93.41 kB / 0.5212 GB, free: 2.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1228, allocations: 55.53 kB / 0.5212 GB, free: 1.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.1237, allocations: 0.8613 MB / 0.5221 GB, free: 1.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1237, allocations: 25.7 kB / 0.5221 GB, free: 1.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1239, allocations: 220.1 kB / 0.5223 GB, free: 0.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1239, allocations: 11.88 kB / 0.5223 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.1239, allocations: 17.72 kB / 0.5223 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1241, allocations: 358.7 kB / 0.5227 GB, free: 448 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.1241, allocations: 11.98 kB / 0.5227 GB, free: 436 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.1242, allocations: 12 kB / 0.5227 GB, free: 424 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.1242, allocations: 24.78 kB / 0.5227 GB, free: 396 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1242, allocations: 0 / 0.5227 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001499/0.1244, allocations: 89.41 kB / 0.5228 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1244, allocations: 8 kB / 0.5228 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1244, allocations: 0 / 0.5228 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1244, allocations: 96 / 0.5228 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.1245, allocations: 11.98 kB / 0.5228 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1245, allocations: 0 / 0.5228 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.1245, allocations: 4 kB / 0.5228 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1246, allocations: 0 / 0.5228 GB, free: 276 kB / 398.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 (2): * Single equations (assignments): 2 * 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 0.000185/0.1247, allocations: 213.7 kB / 0.523 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.1248, allocations: 39.72 kB / 0.5231 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.125, allocations: 112.7 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.125, allocations: 4.031 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.125, allocations: 0 / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.125, allocations: 3.938 kB / 0.5232 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.1253, allocations: 256.6 kB / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1253, allocations: 0 / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1253, allocations: 4 kB / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1253, allocations: 4 kB / 0.5234 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.1253, allocations: 0 / 0.5234 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1253, allocations: 0 / 0.5234 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1253, allocations: 0 / 0.5234 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.1255, allocations: 199.1 kB / 0.5236 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.1256, allocations: 35.72 kB / 0.5237 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.1256, allocations: 0 / 0.5237 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.1257, allocations: 11.98 kB / 0.5237 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.1257, allocations: 0 / 0.5237 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1257, allocations: 0 / 0.5237 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000639/0.1264, allocations: 0.6511 MB / 0.5243 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1264, allocations: 4.031 kB / 0.5243 GB, free: 14.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1266, allocations: 23.88 kB / 0.5243 GB, free: 14.65 MB / 414.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 (2): * Single equations (assignments): 2 * 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.001663/0.1283, allocations: 0.98 MB / 0.5253 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.1284, allocations: 23.98 kB / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1284, allocations: 0 / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.1284, allocations: 8 kB / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.1288, allocations: 34.02 kB / 0.5254 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.1323, allocations: 3.122 MB / 0.5284 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.1327, allocations: 0.8143 MB / 0.5292 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.1328, allocations: 7.984 kB / 0.5292 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1329, allocations: 107.4 kB / 0.5293 GB, free: 9.453 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1329, allocations: 0 / 0.5293 GB, free: 9.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.1649, allocations: 5.848 MB / 0.535 GB, free: 3.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.59, allocations: 7.922 kB / 0.535 GB, free: 3.508 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.761278698220849]