Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",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.0007747/0.0007748, allocations: 171.1 kB / 16.72 MB, free: 4.957 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.163/1.163, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007191/0.0007191, allocations: 93.3 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.2869/0.2869, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09829, allocations: 58.86 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001638/0.09997, allocations: 1.309 MB / 492.2 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005039/0.1005, allocations: 335.8 kB / 492.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.1005, allocations: 4 kB / 492.6 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.101, allocations: 443.2 kB / 493 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.1013, allocations: 235.6 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1016, allocations: 143.7 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1018, allocations: 139.7 kB / 493.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.1019, allocations: 19.84 kB / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.102, allocations: 103.7 kB / 493.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1022, allocations: 175.7 kB / 493.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1022, allocations: 0 / 493.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.1023, allocations: 24 kB / 493.8 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.1024, allocations: 79.75 kB / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.1025, allocations: 120.8 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1027, allocations: 195.9 kB / 494.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1027, allocations: 4 kB / 494.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1027, allocations: 0 / 494.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1027, allocations: 0 / 494.2 MB, free: 7.473 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005871/0.1033, allocations: 0.595 MB / 494.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1033, allocations: 8.031 kB / 494.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.1034, allocations: 42.67 kB / 494.9 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.1034, allocations: 40.38 kB / 494.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1037, allocations: 304.1 kB / 495.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.1037, allocations: 384 / 495.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1037, allocations: 4.375 kB / 495.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1039, allocations: 69.61 kB / 495.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1039, allocations: 0 / 495.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1039, allocations: 0 / 495.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.104, allocations: 4 kB / 495.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1041, allocations: 51.89 kB / 495.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.1046, allocations: 408.7 kB / 495.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1047, allocations: 50.55 kB / 495.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.1048, allocations: 32.94 kB / 495.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1048, allocations: 0 / 495.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1048, allocations: 42.5 kB / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1048, allocations: 3.938 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007765/0.1056, allocations: 339.9 kB / 496.2 MB, free: 5.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1057, allocations: 55.34 kB / 496.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/0.1064, allocations: 0.8652 MB / 497.1 MB, free: 4.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1064, allocations: 29.64 kB / 497.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1066, allocations: 216.1 kB / 497.3 MB, free: 4.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.1066, allocations: 23.66 kB / 497.4 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.1066, allocations: 4 kB / 497.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1067, allocations: 366.8 kB / 497.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1069, allocations: 39.97 kB / 497.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.107, allocations: 47.97 kB / 497.8 MB, free: 3.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1072, allocations: 104.8 kB / 497.9 MB, free: 3.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1072, allocations: 0 / 497.9 MB, free: 3.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000307/0.1075, allocations: 181 kB / 498.1 MB, free: 3.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1075, allocations: 4 kB / 498.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1076, allocations: 0 / 498.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1076, allocations: 0 / 498.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1077, allocations: 23.98 kB / 498.1 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1077, allocations: 0 / 498.1 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.1078, allocations: 19.92 kB / 498.1 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1078, allocations: 4.312 kB / 498.1 MB, free: 3.312 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 (7): * Single equations (assignments): 7 * 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.0001669/0.108, allocations: 213.8 kB / 498.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.108, allocations: 47.44 kB / 498.4 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.1084, allocations: 197.6 kB / 498.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1084, allocations: 0 / 498.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1084, allocations: 4 kB / 498.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1084, allocations: 7.922 kB / 498.6 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.109, allocations: 0.5219 MB / 499.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.109, allocations: 0 / 499.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.1091, allocations: 27.92 kB / 499.1 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1091, allocations: 4 kB / 499.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1091, allocations: 3.938 kB / 499.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1091, allocations: 0 / 499.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1092, allocations: 0 / 499.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.1095, allocations: 266.9 kB / 499.4 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.1096, allocations: 120.5 kB / 499.5 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1096, allocations: 3.938 kB / 499.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.1097, allocations: 15.98 kB / 499.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.1098, allocations: 7.984 kB / 499.6 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1098, allocations: 7.938 kB / 499.6 MB, free: 1.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005435/0.1103, allocations: 0.6511 MB / 0.4885 GB, free: 1.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1103, allocations: 3.938 kB / 0.4885 GB, free: 1.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.1106, allocations: 28 kB / 0.4885 GB, free: 1.09 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 (7): * Single equations (assignments): 7 * 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.001247/0.1118, allocations: 1.11 MB / 0.4896 GB, free: 0 / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1502/0.2621, allocations: 98.52 kB / 0.4897 GB, free: 43.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2621, allocations: 0 / 0.4897 GB, free: 43.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.2622, allocations: 56.52 kB / 0.4898 GB, free: 43.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.2626, allocations: 26.91 kB / 0.4898 GB, free: 43.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.2655, allocations: 2.471 MB / 0.4922 GB, free: 42.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.2657, allocations: 0.8343 MB / 0.493 GB, free: 41.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.2659, allocations: 115.6 kB / 0.4931 GB, free: 41.89 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2659, allocations: 0 / 0.4931 GB, free: 41.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.613/2.878, allocations: 6.69 MB / 0.4997 GB, free: 40.59 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches