Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",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.0016/0.0016, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001519/0.001519, allocations: 184.1 kB / 18.71 MB, free: 4.363 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.614/1.614, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2428/0.2428, allocations: 44.2 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4871, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003362/0.4906, allocations: 1.592 MB / 0.52 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.4915, allocations: 411.7 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.4915, allocations: 0 / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.4919, allocations: 124.9 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.4922, allocations: 94.17 kB / 0.5206 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.4927, allocations: 103.3 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.4929, allocations: 87.36 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.493, allocations: 14.25 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.4931, allocations: 52.84 kB / 0.5209 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.4933, allocations: 84.09 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.4933, allocations: 3.062 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.4934, allocations: 39.91 kB / 0.521 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.4936, allocations: 28.31 kB / 0.521 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.4938, allocations: 34.58 kB / 0.521 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.494, allocations: 120.9 kB / 0.5212 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.494, allocations: 0 / 0.5212 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.494, allocations: 3.938 kB / 0.5212 GB, free: 1.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.494, allocations: 4 kB / 0.5212 GB, free: 1.645 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.0007169/0.4947, allocations: 427 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.4948, allocations: 9.891 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.4948, allocations: 37.39 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.4949, allocations: 14.47 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.4951, allocations: 201.2 kB / 0.5218 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4951, allocations: 5.25 kB / 0.5218 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.4951, allocations: 7.422 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.4955, allocations: 61.14 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4955, allocations: 1.031 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.4955, allocations: 0 / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.4955, allocations: 1.672 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.4956, allocations: 26.14 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.4963, allocations: 317.9 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.4964, allocations: 57.64 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.4965, allocations: 20.03 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.4965, allocations: 0.6094 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4965, allocations: 36.58 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.4965, allocations: 0 / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00121/0.4977, allocations: 241.3 kB / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/0.4979, allocations: 56.44 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.4982, allocations: 272.7 kB / 0.5229 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.4982, allocations: 27.23 kB / 0.5229 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.4982, allocations: 115.2 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.4983, allocations: 24.02 kB / 0.523 GB, free: 36 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.4983, allocations: 25.94 kB / 0.5231 GB, free: 12 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003278/0.4987, allocations: 324.4 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.4988, allocations: 34.5 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.4989, allocations: 34.05 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.4991, allocations: 72.83 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4991, allocations: 0 / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004066/0.4995, allocations: 114.7 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4995, allocations: 4 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4995, allocations: 1.797 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4995, allocations: 0 / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4996, allocations: 22.44 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4997, allocations: 3.938 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.4997, allocations: 8.172 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.4997, allocations: 2.344 kB / 0.5236 GB, free: 15.57 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.0001403/0.4999, allocations: 139.3 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.4999, allocations: 15.06 kB / 0.5238 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/0.5004, allocations: 136.8 kB / 0.5239 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5004, allocations: 1.844 kB / 0.5239 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.5004, allocations: 5.031 kB / 0.5239 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5004, allocations: 4.641 kB / 0.5239 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.5013, allocations: 434.5 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.5013, allocations: 5.375 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.5013, allocations: 16.52 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5013, allocations: 1.406 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5014, allocations: 2.188 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.5014, allocations: 1.406 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5014, allocations: 0 / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.5019, allocations: 222.5 kB / 0.5246 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.502, allocations: 93.25 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.502, allocations: 6.875 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.5021, allocations: 5.156 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.5021, allocations: 9.703 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.5021, allocations: 2.953 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.5024, allocations: 204.8 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5024, allocations: 4 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.5027, allocations: 21.17 kB / 0.5249 GB, free: 14.58 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.002443/0.5052, allocations: 1.107 MB / 0.526 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.5055, allocations: 71.88 kB / 0.5261 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5055, allocations: 0 / 0.5261 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.5056, allocations: 47.08 kB / 0.5261 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.506, allocations: 18.72 kB / 0.5261 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.5087, allocations: 1.82 MB / 0.5279 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.5092, allocations: 0.7214 MB / 0.5286 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.421e-05/0.5093, allocations: 16.64 kB / 0.5286 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.5094, allocations: 41.48 kB / 0.5287 GB, free: 11.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5094, allocations: 1.375 kB / 0.5287 GB, free: 11.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.5368, allocations: 3.365 MB / 0.532 GB, free: 10 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.895/9.432, allocations: 15.91 kB / 0.532 GB, free: 9.992 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches