Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4",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.0009002/0.0009002, allocations: 174.5 kB / 16.72 MB, free: 4.965 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.191/1.191, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007376/0.0007376, allocations: 86.36 kB / 271.2 MB, free: 8.23 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.3226/0.3226, allocations: 43.57 MB / 363.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003468, allocations: 16 kB / 432.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09497, allocations: 58.84 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001759/0.09676, allocations: 1.305 MB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005734/0.09736, allocations: 331.8 kB / 492.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.09743, allocations: 4 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.09792, allocations: 439.2 kB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.09821, allocations: 235.6 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.09861, allocations: 151.7 kB / 493.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.0988, allocations: 119.7 kB / 493.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.09891, allocations: 32.14 kB / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.09903, allocations: 99.73 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.09923, allocations: 167.7 kB / 493.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.09925, allocations: 0 / 493.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.09934, allocations: 27.97 kB / 493.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.09943, allocations: 79.75 kB / 493.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.876e-05/0.09953, allocations: 116.8 kB / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.09974, allocations: 191.9 kB / 494.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.09975, allocations: 0 / 494.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.09976, allocations: 4 kB / 494.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.09977, allocations: 0 / 494.2 MB, free: 7.273 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.0005985/0.1004, allocations: 0.5947 MB / 494.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1004, allocations: 12.03 kB / 494.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.1005, allocations: 30.75 kB / 494.8 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1005, allocations: 44.38 kB / 494.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1008, allocations: 296.2 kB / 495.1 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1008, allocations: 8.375 kB / 495.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1008, allocations: 8.031 kB / 495.2 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.101, allocations: 65.64 kB / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.101, allocations: 0 / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.101, allocations: 4 kB / 495.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.101, allocations: 0 / 495.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1011, allocations: 35.97 kB / 495.3 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1016, allocations: 400.6 kB / 495.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1018, allocations: 42.56 kB / 495.7 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.1019, allocations: 28.94 kB / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.1019, allocations: 0 / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1019, allocations: 34.5 kB / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1019, allocations: 0 / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006044/0.1025, allocations: 256 kB / 496 MB, free: 5.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.1026, allocations: 55.34 kB / 496.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/0.1033, allocations: 0.8691 MB / 496.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1034, allocations: 33.58 kB / 497 MB, free: 4.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.1035, allocations: 224.1 kB / 497.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1036, allocations: 15.75 kB / 497.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1036, allocations: 4 kB / 497.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1037, allocations: 358.8 kB / 497.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.1038, allocations: 27.97 kB / 497.6 MB, free: 3.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.1039, allocations: 23.98 kB / 497.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.104, allocations: 69.02 kB / 497.7 MB, free: 3.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.104, allocations: 0 / 497.7 MB, free: 3.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002107/0.1042, allocations: 129.1 kB / 497.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1043, allocations: 8 kB / 497.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1043, allocations: 3.938 kB / 497.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1043, allocations: 0 / 497.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.1044, allocations: 12 kB / 497.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1044, allocations: 7.938 kB / 497.8 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.1044, allocations: 7.984 kB / 497.8 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1045, allocations: 0 / 497.8 MB, free: 3.383 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 (5): * Single equations (assignments): 5 * 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.0001716/0.1046, allocations: 217.8 kB / 498 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.1047, allocations: 43.44 kB / 498.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.105, allocations: 145.1 kB / 498.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.105, allocations: 0 / 498.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.105, allocations: 11.88 kB / 498.2 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.105, allocations: 0 / 498.2 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.1055, allocations: 478.5 kB / 498.7 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1055, allocations: 0 / 498.7 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.1056, allocations: 12 kB / 498.7 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1056, allocations: 3.938 kB / 498.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1056, allocations: 4 kB / 498.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1056, allocations: 192 / 498.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1056, allocations: 3.984 kB / 498.7 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1059, allocations: 230.9 kB / 499 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.106, allocations: 108.6 kB / 499.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.106, allocations: 11.94 kB / 499.1 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.1061, allocations: 8 kB / 499.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.1061, allocations: 3.984 kB / 499.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1061, allocations: 7.938 kB / 499.1 MB, free: 2.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005472/0.1067, allocations: 0.6511 MB / 499.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1067, allocations: 0 / 499.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.1069, allocations: 24 kB / 499.8 MB, free: 1.34 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 (5): * Single equations (assignments): 5 * 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.00116/0.1081, allocations: 1.062 MB / 0.4891 GB, free: 308 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1083, allocations: 67.95 kB / 0.4892 GB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1083, allocations: 0 / 0.4892 GB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.1084, allocations: 31.92 kB / 0.4892 GB, free: 208 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1087, allocations: 26.3 kB / 0.4892 GB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1566/0.2654, allocations: 2.385 MB / 0.4915 GB, free: 42.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.2657, allocations: 0.8251 MB / 0.4924 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2658, allocations: 115.1 kB / 0.4925 GB, free: 41.74 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2658, allocations: 0 / 0.4925 GB, free: 41.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.627/2.893, allocations: 6.57 MB / 0.4989 GB, free: 40.48 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches