Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008308/0.0008308, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006754/0.0006753, allocations: 92.97 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2937/0.2937, allocations: 43.55 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003506, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001634/0.1025, allocations: 1.274 MB / 492.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005137/0.1031, allocations: 315.9 kB / 492.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.1031, allocations: 4 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.1036, allocations: 439.2 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1038, allocations: 235.5 kB / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1042, allocations: 143.7 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1043, allocations: 135.7 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.1044, allocations: 20.17 kB / 493.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.1045, allocations: 99.73 kB / 493.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1047, allocations: 167.7 kB / 493.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1047, allocations: 0 / 493.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.1048, allocations: 15.98 kB / 493.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.991e-05/0.1049, allocations: 83.75 kB / 493.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.105, allocations: 116.8 kB / 493.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1052, allocations: 180 kB / 494.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1052, allocations: 4 kB / 494.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1052, allocations: 3.984 kB / 494.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1052, allocations: 0 / 494.1 MB, free: 7.34 MB / 378.7 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.0005856/0.1058, allocations: 0.5911 MB / 494.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1058, allocations: 8.031 kB / 494.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.1059, allocations: 38.69 kB / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.1059, allocations: 48.38 kB / 494.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1062, allocations: 300.1 kB / 495.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1062, allocations: 4.375 kB / 495.1 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.1062, allocations: 4.125 kB / 495.1 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1064, allocations: 61.67 kB / 495.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.1064, allocations: 0 / 495.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.1064, allocations: 0 / 495.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1064, allocations: 0 / 495.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1065, allocations: 43.97 kB / 495.2 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.107, allocations: 400.7 kB / 495.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1071, allocations: 46.56 kB / 495.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.456e-05/0.1072, allocations: 32.88 kB / 495.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1072, allocations: 0 / 495.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.1073, allocations: 30.56 kB / 495.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1073, allocations: 4 kB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003153/0.1076, allocations: 145 kB / 495.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1076, allocations: 51.41 kB / 495.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007315/0.1084, allocations: 0.8613 MB / 496.8 MB, free: 4.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1084, allocations: 25.7 kB / 496.8 MB, free: 4.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1086, allocations: 216.1 kB / 497 MB, free: 4.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1086, allocations: 19.78 kB / 497 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.1086, allocations: 0 / 497 MB, free: 4.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1087, allocations: 358.7 kB / 497.4 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.1088, allocations: 27.97 kB / 497.4 MB, free: 3.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.1089, allocations: 24.17 kB / 497.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.109, allocations: 48.91 kB / 497.5 MB, free: 3.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.109, allocations: 4 kB / 497.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001848/0.1092, allocations: 125 kB / 497.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1092, allocations: 4 kB / 497.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1092, allocations: 0 / 497.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1092, allocations: 0 / 497.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.1093, allocations: 12 kB / 497.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1093, allocations: 0 / 497.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.1094, allocations: 11.98 kB / 497.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1094, allocations: 4 kB / 497.6 MB, free: 3.602 MB / 378.7 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.1096, allocations: 209.7 kB / 497.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.1096, allocations: 47.42 kB / 497.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.1099, allocations: 132.9 kB / 498 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1099, allocations: 4 kB / 498 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1099, allocations: 0 / 498 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1099, allocations: 0 / 498 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1102, allocations: 301.5 kB / 498.3 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1102, allocations: 0 / 498.3 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/0.1102, allocations: 12 kB / 498.3 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1102, allocations: 0 / 498.3 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1102, allocations: 0 / 498.3 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.1103, allocations: 3.984 kB / 498.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1103, allocations: 0 / 498.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.1105, allocations: 214.9 kB / 498.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/0.1106, allocations: 120.5 kB / 498.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1106, allocations: 0 / 498.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.1107, allocations: 11.98 kB / 498.7 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1107, allocations: 0 / 498.7 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1107, allocations: 7.938 kB / 498.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005258/0.1113, allocations: 0.6511 MB / 499.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.372e-06/0.1113, allocations: 0 / 499.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.1115, allocations: 23.88 kB / 499.3 MB, free: 1.781 MB / 378.7 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009946/0.1125, allocations: 1.002 MB / 0.4886 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.1127, allocations: 51.91 kB / 0.4887 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1127, allocations: 0 / 0.4887 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.599e-05/0.1128, allocations: 23.98 kB / 0.4887 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.1131, allocations: 29.89 kB / 0.4887 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1658/0.2789, allocations: 2.327 MB / 0.491 GB, free: 42.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.2792, allocations: 0.8212 MB / 0.4918 GB, free: 41.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.2793, allocations: 107.2 kB / 0.4919 GB, free: 41.95 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2793, allocations: 0 / 0.4919 GB, free: 41.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.677/2.957, allocations: 6.366 MB / 0.4981 GB, free: 40.73 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches