Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6",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.0008559/0.000856, allocations: 175.5 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.134/1.134, 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.0007187/0.0007187, allocations: 86.31 kB / 271.2 MB, free: 8.246 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.279/0.279, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003185, allocations: 16 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.0873, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.001607/0.08894, allocations: 1.263 MB / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005185/0.08948, allocations: 319.7 kB / 492.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.08954, allocations: 0 / 492.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.08978, allocations: 87.8 kB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.08997, allocations: 63.8 kB / 492.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.09023, allocations: 83.88 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.09036, allocations: 63.83 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.09045, allocations: 24.16 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.423e-05/0.09051, allocations: 35.84 kB / 492.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.09061, allocations: 47.88 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.09063, allocations: 0 / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.0907, allocations: 27.92 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.09075, allocations: 23.92 kB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.0908, allocations: 53.52 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.09093, allocations: 76.16 kB / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.09094, allocations: 7.938 kB / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09094, allocations: 0 / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.09095, allocations: 0 / 493.1 MB, free: 8.355 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003989/0.09136, allocations: 402.9 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.0914, allocations: 12.03 kB / 493.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.09145, allocations: 30.75 kB / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.09148, allocations: 20.75 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.09166, allocations: 204.1 kB / 493.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.09167, allocations: 384 / 493.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.0917, allocations: 8.125 kB / 493.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.09185, allocations: 79.33 kB / 493.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.09187, allocations: 0 / 493.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.09189, allocations: 0 / 493.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.0919, allocations: 0 / 493.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.09201, allocations: 43.97 kB / 493.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.09245, allocations: 400.9 kB / 494.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.0927, allocations: 93.16 kB / 494.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.812e-05/0.09278, allocations: 29.8 kB / 494.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.09281, allocations: 4 kB / 494.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.09283, allocations: 38.56 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.09284, allocations: 0 / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006934/0.09354, allocations: 264.9 kB / 494.7 MB, free: 6.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.0936, allocations: 81.05 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.09379, allocations: 234.3 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.09381, allocations: 25.7 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.09387, allocations: 111.9 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.09391, allocations: 35.53 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.09392, allocations: 8 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.09403, allocations: 322.8 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.09412, allocations: 39.97 kB / 495.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.575e-05/0.09422, allocations: 53.62 kB / 495.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.0944, allocations: 93.81 kB / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09441, allocations: 0 / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002607/0.09468, allocations: 141.3 kB / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.0947, allocations: 7.281 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.09471, allocations: 4 kB / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.09473, allocations: 4 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.09482, allocations: 19.98 kB / 495.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.09483, allocations: 7.938 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.09488, allocations: 8 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.0949, allocations: 7.984 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 9.542e-05/0.095, allocations: 133.8 kB / 496 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.09505, allocations: 15.81 kB / 496 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.09535, allocations: 150.6 kB / 496.2 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.09536, allocations: 0 / 496.2 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.09538, allocations: 7.938 kB / 496.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.09538, allocations: 0 / 496.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.09596, allocations: 0.5064 MB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.09597, allocations: 4.25 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.09605, allocations: 27.92 kB / 496.7 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.09607, allocations: 8.031 kB / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.09608, allocations: 0 / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.09609, allocations: 4 kB / 496.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.09609, allocations: 0 / 496.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.09639, allocations: 315.5 kB / 497 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.09644, allocations: 88.95 kB / 497.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.09646, allocations: 4 kB / 497.1 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.09657, allocations: 11.98 kB / 497.1 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.09661, allocations: 7.984 kB / 497.1 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.09662, allocations: 4 kB / 497.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.09675, allocations: 172.2 kB / 497.3 MB, free: 3.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09676, allocations: 0 / 497.3 MB, free: 3.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.09703, allocations: 27.98 kB / 497.3 MB, free: 3.727 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001193/0.09823, allocations: 1.145 MB / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.09846, allocations: 87.88 kB / 498.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.09848, allocations: 4 kB / 498.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.09859, allocations: 51.92 kB / 498.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.09895, allocations: 19.97 kB / 498.6 MB, free: 2.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1002, allocations: 0.9025 MB / 499.5 MB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1004, allocations: 0.7121 MB / 0.4885 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.1005, allocations: 35.42 kB / 0.4886 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1005, allocations: 4 kB / 0.4886 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/2.94, allocations: 2.245 MB / 0.4908 GB, free: 41.72 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches