Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1",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.0007736/0.0007736, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.171/1.171, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007259/0.0007259, allocations: 97.47 kB / 271.2 MB, free: 8.258 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.2718/0.2718, allocations: 43.55 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.000433, allocations: 20 kB / 432.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.0986, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001762/0.1004, allocations: 1.305 MB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005629/0.101, allocations: 331.8 kB / 492.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.1011, allocations: 0 / 492.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.1016, allocations: 439.2 kB / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.1019, allocations: 239.5 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.1022, allocations: 143.8 kB / 493.4 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1025, allocations: 127.7 kB / 493.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.1026, allocations: 24.16 kB / 493.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1027, allocations: 103.7 kB / 493.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1029, allocations: 163.7 kB / 493.8 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1029, allocations: 4 kB / 493.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.07e-05/0.103, allocations: 23.98 kB / 493.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.1031, allocations: 79.75 kB / 493.9 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.896e-05/0.1032, allocations: 124.8 kB / 494 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1034, allocations: 187.9 kB / 494.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1034, allocations: 0 / 494.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1034, allocations: 0 / 494.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1035, allocations: 0 / 494.2 MB, free: 7.289 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.0006172/0.1041, allocations: 0.5911 MB / 494.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1041, allocations: 8.031 kB / 494.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1042, allocations: 38.75 kB / 494.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.1042, allocations: 40.38 kB / 494.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1045, allocations: 304.2 kB / 495.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.1045, allocations: 384 / 495.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1045, allocations: 12.03 kB / 495.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1046, allocations: 57.67 kB / 495.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1047, allocations: 0 / 495.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1047, allocations: 0 / 495.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1047, allocations: 0 / 495.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1048, allocations: 39.97 kB / 495.3 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.1053, allocations: 400.6 kB / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1055, allocations: 46.56 kB / 495.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.1055, allocations: 20.94 kB / 495.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1056, allocations: 0 / 495.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.1056, allocations: 38.56 kB / 495.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.1056, allocations: 0 / 495.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000626/0.1062, allocations: 252.1 kB / 496 MB, free: 5.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1063, allocations: 59.41 kB / 496.1 MB, free: 5.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.1071, allocations: 0.8651 MB / 496.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1071, allocations: 33.64 kB / 497 MB, free: 4.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1072, allocations: 228 kB / 497.2 MB, free: 4.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1073, allocations: 19.75 kB / 497.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.1073, allocations: 4 kB / 497.2 MB, free: 4.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1074, allocations: 354.8 kB / 497.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.1075, allocations: 27.97 kB / 497.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.042e-05/0.1076, allocations: 28.05 kB / 497.6 MB, free: 3.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1077, allocations: 60.83 kB / 497.7 MB, free: 3.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1077, allocations: 0 / 497.7 MB, free: 3.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002258/0.108, allocations: 133.2 kB / 497.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.108, allocations: 8 kB / 497.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.108, allocations: 0 / 497.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.108, allocations: 3.984 kB / 497.8 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.1081, allocations: 15.94 kB / 497.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.1081, allocations: 3.938 kB / 497.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.1082, allocations: 11.98 kB / 497.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1082, allocations: 4 kB / 497.8 MB, free: 3.395 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.000169/0.1084, allocations: 217.8 kB / 498.1 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.1084, allocations: 43.44 kB / 498.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.1087, allocations: 145.1 kB / 498.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1087, allocations: 0 / 498.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1087, allocations: 3.938 kB / 498.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1087, allocations: 0 / 498.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.1092, allocations: 478.4 kB / 498.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1092, allocations: 0 / 498.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.1093, allocations: 12 kB / 498.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1093, allocations: 4.25 kB / 498.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1093, allocations: 8 kB / 498.7 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1093, allocations: 4 kB / 498.7 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1093, allocations: 3.984 kB / 498.7 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1096, allocations: 218.9 kB / 499 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.1097, allocations: 120.6 kB / 499.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1097, allocations: 3.938 kB / 499.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.1098, allocations: 7.984 kB / 499.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.1098, allocations: 4 kB / 499.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1098, allocations: 3.938 kB / 499.1 MB, free: 2.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005461/0.1104, allocations: 0.6589 MB / 499.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1104, allocations: 0 / 499.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.1106, allocations: 20 kB / 499.8 MB, free: 1.359 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.001149/0.1118, allocations: 1.067 MB / 0.4891 GB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.112, allocations: 63.95 kB / 0.4892 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.112, allocations: 0 / 0.4892 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-05/0.1121, allocations: 31.98 kB / 0.4892 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1124, allocations: 26.23 kB / 0.4892 GB, free: 196 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1461/0.2585, allocations: 2.382 MB / 0.4915 GB, free: 42.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.2588, allocations: 0.8257 MB / 0.4923 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.2589, allocations: 112.1 kB / 0.4925 GB, free: 41.74 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.259, allocations: 0 / 0.4925 GB, free: 41.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.647/2.906, allocations: 6.575 MB / 0.4989 GB, free: 40.48 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches