Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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.0008789/0.0008789, allocations: 175.9 kB / 16.72 MB, free: 5.078 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.252/1.252, 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.0006949/0.0006949, allocations: 97.11 kB / 271.2 MB, free: 8.25 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.2785/0.2785, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09676, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.001984/0.0988, allocations: 1.309 MB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000559/0.09938, allocations: 311.8 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.09946, allocations: 4 kB / 492.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.09996, allocations: 435.2 kB / 493 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.1003, allocations: 247.5 kB / 493.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1006, allocations: 95.81 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1008, allocations: 119.7 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.1009, allocations: 16.17 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.101, allocations: 103.8 kB / 493.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.1012, allocations: 163.7 kB / 493.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1013, allocations: 4 kB / 493.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.1013, allocations: 27.97 kB / 493.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1015, allocations: 83.69 kB / 493.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.32e-05/0.1015, allocations: 112.9 kB / 493.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1018, allocations: 187.9 kB / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1018, allocations: 4 kB / 494.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1018, allocations: 0 / 494.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1018, allocations: 0 / 494.1 MB, free: 7.363 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.0006794/0.1025, allocations: 0.5989 MB / 494.7 MB, free: 6.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1025, allocations: 8.031 kB / 494.7 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.1026, allocations: 34.75 kB / 494.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.1026, allocations: 36.47 kB / 494.8 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1029, allocations: 296.2 kB / 495.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1029, allocations: 384 / 495.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.103, allocations: 16.12 kB / 495.1 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1031, allocations: 53.66 kB / 495.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1031, allocations: 0 / 495.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1031, allocations: 4 kB / 495.1 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1032, allocations: 4 kB / 495.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.214e-05/0.1033, allocations: 27.92 kB / 495.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1037, allocations: 388.6 kB / 495.6 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1039, allocations: 42.56 kB / 495.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.104, allocations: 24.88 kB / 495.6 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.104, allocations: 4 kB / 495.6 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.104, allocations: 34.56 kB / 495.7 MB, free: 5.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.104, allocations: 0 / 495.7 MB, free: 5.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006045/0.1046, allocations: 243.9 kB / 495.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1047, allocations: 55.41 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000765/0.1055, allocations: 0.8691 MB / 496.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1055, allocations: 25.7 kB / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1056, allocations: 220.1 kB / 497.1 MB, free: 4.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1057, allocations: 19.66 kB / 497.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.1057, allocations: 0 / 497.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1058, allocations: 366.7 kB / 497.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.1059, allocations: 27.98 kB / 497.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.106, allocations: 19.98 kB / 497.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1061, allocations: 56.83 kB / 497.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1061, allocations: 0 / 497.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002068/0.1063, allocations: 121.1 kB / 497.7 MB, free: 3.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1064, allocations: 8 kB / 497.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1064, allocations: 0 / 497.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1064, allocations: 0 / 497.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.1065, allocations: 19.98 kB / 497.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1065, allocations: 3.938 kB / 497.7 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.1065, allocations: 4 kB / 497.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1065, allocations: 4 kB / 497.7 MB, free: 3.539 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.0001837/0.1067, allocations: 213.8 kB / 497.9 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.1068, allocations: 39.44 kB / 497.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.1071, allocations: 149.2 kB / 498.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1071, allocations: 0 / 498.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1071, allocations: 3.938 kB / 498.1 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1071, allocations: 3.984 kB / 498.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.1076, allocations: 470.5 kB / 498.6 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1076, allocations: 0 / 498.6 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.1077, allocations: 12 kB / 498.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1077, allocations: 11.86 kB / 498.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1077, allocations: 0 / 498.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1077, allocations: 0 / 498.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1077, allocations: 0 / 498.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.108, allocations: 219 kB / 498.8 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.1081, allocations: 112.5 kB / 498.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.1081, allocations: 11.94 kB / 498.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.1082, allocations: 11.94 kB / 498.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.1082, allocations: 7.984 kB / 498.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1083, allocations: 0 / 498.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006049/0.1089, allocations: 0.6511 MB / 499.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1089, allocations: 0 / 499.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.1091, allocations: 24 kB / 499.6 MB, free: 1.52 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.001267/0.1104, allocations: 1.055 MB / 0.4889 GB, free: 500 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1106, allocations: 59.95 kB / 0.489 GB, free: 440 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1106, allocations: 4 kB / 0.489 GB, free: 436 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.1107, allocations: 31.92 kB / 0.489 GB, free: 404 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1111, allocations: 21.91 kB / 0.489 GB, free: 380 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1645/0.2755, allocations: 2.341 MB / 0.4913 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.2758, allocations: 0.8251 MB / 0.4921 GB, free: 41.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.276, allocations: 100.3 kB / 0.4922 GB, free: 41.76 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.276, allocations: 0.5312 kB / 0.4922 GB, free: 41.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.592/2.868, allocations: 6.498 MB / 0.4986 GB, free: 40.51 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches