Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 118.4 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 183 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2838/0.2838, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 67.88 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5237, allocations: 60.82 MB / 0.5185 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003362/0.5271, allocations: 1.589 MB / 0.52 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.5281, allocations: 410.3 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.5282, allocations: 1.219 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.5285, allocations: 92.89 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.5288, allocations: 75.38 kB / 0.5206 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.5291, allocations: 107.4 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.5293, allocations: 79.92 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.5295, allocations: 19.42 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.5296, allocations: 38.41 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.5298, allocations: 53.94 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.5298, allocations: 3.438 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.5299, allocations: 43.8 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.728e-05/0.53, allocations: 19.06 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.53, allocations: 30.83 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.5304, allocations: 114.2 kB / 0.521 GB, free: 1.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.5304, allocations: 1.062 kB / 0.521 GB, free: 1.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5304, allocations: 4 kB / 0.5211 GB, free: 1.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.5304, allocations: 0 / 0.5211 GB, free: 1.637 MB / 382.1 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.0006133/0.531, allocations: 412.7 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.621e-05/0.5311, allocations: 15.08 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.5312, allocations: 31.31 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.5313, allocations: 15.36 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.5314, allocations: 198.4 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.5315, allocations: 9.516 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.5315, allocations: 7.188 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.5317, allocations: 57.56 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5317, allocations: 1.406 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.5317, allocations: 4 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5317, allocations: 1.656 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.5318, allocations: 25.62 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.5323, allocations: 298.4 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.5324, allocations: 52.7 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.5325, allocations: 20.2 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.5325, allocations: 1.156 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.5325, allocations: 36.28 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5326, allocations: 0 / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001028/0.5336, allocations: 243.3 kB / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.5336, allocations: 56.78 kB / 0.5225 GB, free: 360 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.5339, allocations: 224.7 kB / 0.5227 GB, free: 220 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.5339, allocations: 29.7 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.534, allocations: 107 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.5341, allocations: 25.56 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.5341, allocations: 28.61 kB / 0.5229 GB, free: 36 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.5343, allocations: 327.1 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.5344, allocations: 29.62 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.5345, allocations: 30.8 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.5347, allocations: 71.73 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5347, allocations: 1.156 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002516/0.535, allocations: 116 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.535, allocations: 7.219 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.535, allocations: 7.875 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.535, allocations: 432 / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.5351, allocations: 21.3 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5352, allocations: 5.312 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.5352, allocations: 4.422 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.5352, allocations: 2.531 kB / 0.5235 GB, free: 15.59 MB / 398.1 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.5354, allocations: 133.3 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.5354, allocations: 14.45 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.5358, allocations: 131.1 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5358, allocations: 1.844 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5358, allocations: 5.031 kB / 0.5237 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5358, allocations: 0.7031 kB / 0.5237 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.5365, allocations: 422.1 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5365, allocations: 9.156 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.5366, allocations: 17.06 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.5366, allocations: 0.7969 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.5366, allocations: 1.562 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5366, allocations: 2.844 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5366, allocations: 0.7969 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.537, allocations: 216.9 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5371, allocations: 93.59 kB / 0.5245 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.5372, allocations: 6.438 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.5372, allocations: 8.266 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.5373, allocations: 5.75 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.5373, allocations: 4.625 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.5376, allocations: 175.3 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5376, allocations: 0 / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.5379, allocations: 25.14 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002564/0.5405, allocations: 1.099 MB / 0.5258 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.5408, allocations: 70.39 kB / 0.5258 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5408, allocations: 4 kB / 0.5258 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.5409, allocations: 43.44 kB / 0.5259 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.5414, allocations: 13.77 kB / 0.5259 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.5441, allocations: 1.712 MB / 0.5276 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.5446, allocations: 0.7154 MB / 0.5282 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.466e-05/0.5447, allocations: 21.22 kB / 0.5283 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.5447, allocations: 36.83 kB / 0.5283 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5447, allocations: 0 / 0.5283 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.5765, allocations: 3.152 MB / 0.5314 GB, free: 10.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.963/9.54, allocations: 2.266 kB / 0.5314 GB, free: 10.25 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches