Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.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.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27",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.0008656/0.0008659, allocations: 173.7 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.195/1.195, 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.0006578/0.0006578, allocations: 88.84 kB / 271.2 MB, free: 8.242 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.2816/0.2816, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 8 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09544, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.001767/0.09725, allocations: 1.255 MB / 492.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005214/0.0978, allocations: 307.7 kB / 492.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.09787, allocations: 0 / 492.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.09814, allocations: 123.8 kB / 492.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.09831, allocations: 79.84 kB / 492.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.09857, allocations: 83.81 kB / 492.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.09871, allocations: 71.8 kB / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.0988, allocations: 15.97 kB / 492.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.09887, allocations: 35.91 kB / 492.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.09898, allocations: 67.78 kB / 492.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.099, allocations: 4 kB / 493 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.09908, allocations: 23.98 kB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.09913, allocations: 27.91 kB / 493 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.09918, allocations: 49.45 kB / 493.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.09931, allocations: 76.16 kB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.09932, allocations: 0 / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09933, allocations: 0 / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.09934, allocations: 0 / 493.1 MB, free: 8.566 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.0004141/0.09975, allocations: 414.9 kB / 493.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.0998, allocations: 12.03 kB / 493.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.09984, allocations: 34.75 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.09987, allocations: 8.844 kB / 493.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.1, allocations: 215.7 kB / 493.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1001, allocations: 384 / 493.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1001, allocations: 384 / 493.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1002, allocations: 53.61 kB / 493.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1002, allocations: 4 kB / 493.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1002, allocations: 8 kB / 493.9 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1003, allocations: 4 kB / 493.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.1003, allocations: 23.98 kB / 493.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1007, allocations: 304.7 kB / 494.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1009, allocations: 46.66 kB / 494.2 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.101, allocations: 20.84 kB / 494.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.101, allocations: 4 kB / 494.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.101, allocations: 30.56 kB / 494.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.101, allocations: 0 / 494.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005302/0.1016, allocations: 181 kB / 494.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.1016, allocations: 59.41 kB / 494.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1018, allocations: 259.3 kB / 494.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.1018, allocations: 29.64 kB / 494.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.1019, allocations: 112.1 kB / 494.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1019, allocations: 19.8 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.1019, allocations: 0 / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.102, allocations: 326.8 kB / 495.2 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.1021, allocations: 27.98 kB / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.1022, allocations: 27.92 kB / 495.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1023, allocations: 56.83 kB / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1023, allocations: 0 / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001906/0.1025, allocations: 105.5 kB / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1026, allocations: 7.938 kB / 495.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1026, allocations: 0 / 495.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.1026, allocations: 0 / 495.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.1026, allocations: 15.98 kB / 495.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1027, allocations: 0 / 495.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.1027, allocations: 15.94 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.1027, allocations: 3.938 kB / 495.5 MB, free: 5.957 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 8.148e-05/0.1028, allocations: 133.8 kB / 495.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1028, allocations: 11.81 kB / 495.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.1031, allocations: 118.6 kB / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1031, allocations: 0 / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1031, allocations: 320 / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1031, allocations: 0 / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.1035, allocations: 382.4 kB / 496.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1035, allocations: 4 kB / 496.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.1036, allocations: 15.98 kB / 496.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1036, allocations: 0 / 496.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1036, allocations: 8 kB / 496.2 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1036, allocations: 3.938 kB / 496.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1036, allocations: 0 / 496.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.1038, allocations: 199.5 kB / 496.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.1039, allocations: 85.02 kB / 496.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1039, allocations: 3.984 kB / 496.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.104, allocations: 15.92 kB / 496.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.104, allocations: 4 kB / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.104, allocations: 0 / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1042, allocations: 211.4 kB / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1042, allocations: 0 / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.1044, allocations: 12 kB / 496.7 MB, free: 4.66 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.001119/0.1055, allocations: 1.036 MB / 497.7 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1057, allocations: 59.91 kB / 497.8 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.1057, allocations: 0 / 497.8 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1058, allocations: 35.98 kB / 497.8 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.1061, allocations: 15.92 kB / 497.8 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1073, allocations: 0.8819 MB / 498.7 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1075, allocations: 0.716 MB / 499.4 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1076, allocations: 43.41 kB / 499.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1076, allocations: 0 / 499.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.745/2.852, allocations: 2.181 MB / 0.4899 GB, free: 42.45 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches