Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8",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.0008592/0.0008591, allocations: 175 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.167/1.167, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007192/0.0007193, allocations: 95.44 kB / 271.2 MB, free: 8.238 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.3024/0.3024, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 16 kB / 432.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09909, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001851/0.101, allocations: 1.258 MB / 492.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005703/0.1016, allocations: 327.7 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.1016, allocations: 0 / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.1022, allocations: 439.2 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.1025, allocations: 235.5 kB / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1029, allocations: 135.8 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1031, allocations: 131.7 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1032, allocations: 15.98 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1033, allocations: 99.8 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1035, allocations: 167.7 kB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1036, allocations: 0 / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.906e-05/0.1036, allocations: 19.98 kB / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.006e-05/0.1037, allocations: 79.69 kB / 493.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.324e-05/0.1038, allocations: 112.9 kB / 493.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.104, allocations: 180 kB / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.104, allocations: 0 / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1041, allocations: 0 / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.1041, allocations: 0 / 494.1 MB, free: 7.367 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.00069/0.1048, allocations: 0.5949 MB / 494.7 MB, free: 6.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1048, allocations: 12.03 kB / 494.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.1049, allocations: 34.75 kB / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.1049, allocations: 36.47 kB / 494.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1052, allocations: 300.1 kB / 495.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1052, allocations: 4.375 kB / 495.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1053, allocations: 4.375 kB / 495.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1054, allocations: 53.62 kB / 495.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1054, allocations: 0 / 495.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1055, allocations: 0 / 495.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1055, allocations: 0 / 495.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.1056, allocations: 31.92 kB / 495.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.1061, allocations: 392.7 kB / 495.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.1062, allocations: 34.56 kB / 495.6 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.1062, allocations: 16.92 kB / 495.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1063, allocations: 7.984 kB / 495.6 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1063, allocations: 38.55 kB / 495.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1063, allocations: 3.938 kB / 495.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002629/0.1066, allocations: 101.1 kB / 495.7 MB, free: 5.543 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1066, allocations: 55.39 kB / 495.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.1074, allocations: 0.8693 MB / 496.7 MB, free: 4.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1074, allocations: 25.7 kB / 496.7 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1076, allocations: 232 kB / 496.9 MB, free: 4.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.1076, allocations: 7.844 kB / 496.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.1076, allocations: 0 / 496.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1078, allocations: 362.7 kB / 497.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.1078, allocations: 12 kB / 497.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.784e-05/0.1079, allocations: 15.98 kB / 497.3 MB, free: 3.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.108, allocations: 32.78 kB / 497.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.108, allocations: 0 / 497.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000159/0.1081, allocations: 105.1 kB / 497.4 MB, free: 3.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1082, allocations: 6.5 kB / 497.4 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1082, allocations: 4.094 kB / 497.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1082, allocations: 0 / 497.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.1083, allocations: 4 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1083, allocations: 4 kB / 497.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.1083, allocations: 0 / 497.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1083, allocations: 4 kB / 497.5 MB, free: 3.773 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 (2): * Single equations (assignments): 2 * 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.0001697/0.1085, allocations: 213.7 kB / 497.7 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.1086, allocations: 39.44 kB / 497.7 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.1088, allocations: 120.6 kB / 497.8 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1088, allocations: 4 kB / 497.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1088, allocations: 0 / 497.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1088, allocations: 4 kB / 497.8 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.1091, allocations: 285.5 kB / 498.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1091, allocations: 0 / 498.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.1091, allocations: 8 kB / 498.1 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1091, allocations: 4.031 kB / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1092, allocations: 0 / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1092, allocations: 0 / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1092, allocations: 0 / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1094, allocations: 198.8 kB / 498.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.1094, allocations: 112.6 kB / 498.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1095, allocations: 4.031 kB / 498.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.1096, allocations: 4 kB / 498.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1096, allocations: 0 / 498.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1096, allocations: 0 / 498.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005637/0.1102, allocations: 0.655 MB / 499.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1102, allocations: 0 / 499.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.1104, allocations: 27.92 kB / 499.1 MB, free: 2.016 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 (2): * Single equations (assignments): 2 * 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.001046/0.1115, allocations: 0.9776 MB / 0.4884 GB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.1116, allocations: 27.92 kB / 0.4884 GB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1116, allocations: 0 / 0.4884 GB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.1117, allocations: 15.98 kB / 0.4884 GB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.1121, allocations: 18.31 kB / 0.4884 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1667/0.2788, allocations: 2.305 MB / 0.4907 GB, free: 42.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.2791, allocations: 0.8295 MB / 0.4915 GB, free: 41.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2792, allocations: 111.3 kB / 0.4916 GB, free: 41.56 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2792, allocations: 0 / 0.4916 GB, free: 41.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.612/2.891, allocations: 6.31 MB / 0.4978 GB, free: 40.36 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches