Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 94.08 kB / 17 MB, free: 6.355 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.001404/0.001404, allocations: 183.8 kB / 17.89 MB, free: 5.926 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.482/1.482, allocations: 223.3 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2645/0.2645, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003949, allocations: 8.5 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.154, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03247/0.1865, allocations: 27.91 MB / 499.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.2047, allocations: 14.44 MB / 0.5019 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.2053, allocations: 11.94 kB / 0.5019 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007872/0.2061, allocations: 170.9 kB / 0.5021 GB, free: 3.043 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007536/0.2069, allocations: 262.5 kB / 0.5023 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3934/0.6003, allocations: 4.296 MB / 0.5065 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001987/0.6023, allocations: 0.9356 MB / 0.5074 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.6028, allocations: 182.1 kB / 0.5076 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02071/0.6235, allocations: 8.952 MB / 0.5164 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009184/0.6245, allocations: 221 kB / 0.5166 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/0.6246, allocations: 13.22 kB / 0.5166 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/0.6396, allocations: 5.817 MB / 0.5223 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.6399, allocations: 74.14 kB / 0.5223 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.6403, allocations: 88.08 kB / 0.5224 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007699/0.648, allocations: 2.457 MB / 0.5248 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.648, allocations: 5.656 kB / 0.5248 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.819e-06/0.648, allocations: 0 / 0.5248 GB, free: 13.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.6481, allocations: 1.75 kB / 0.5248 GB, free: 13.76 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003417/0.6515, allocations: 0.9401 MB / 0.5257 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.6515, allocations: 6.969 kB / 0.5257 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008868/0.6524, allocations: 113.3 kB / 0.5259 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.6529, allocations: 322.2 kB / 0.5262 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.6529, allocations: 22.75 kB / 0.5262 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.6529, allocations: 28.45 kB / 0.5262 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.654, allocations: 463.7 kB / 0.5266 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.654, allocations: 7.438 kB / 0.5267 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.6541, allocations: 16.72 kB / 0.5267 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.6541, allocations: 5.625 kB / 0.5267 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009575/0.6551, allocations: 396.9 kB / 0.5271 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.6579, allocations: 2.397 MB / 0.5294 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.6588, allocations: 306.8 kB / 0.5297 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.6591, allocations: 109.3 kB / 0.5298 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.6594, allocations: 487.2 kB / 0.5303 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.6595, allocations: 32.5 kB / 0.5303 GB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/0.6595, allocations: 0.8906 kB / 0.5303 GB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001549/0.661, allocations: 0.4918 MB / 0.5308 GB, free: 9.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.6611, allocations: 106.6 kB / 0.5309 GB, free: 9.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.6615, allocations: 321.1 kB / 0.5312 GB, free: 9.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6615, allocations: 31.48 kB / 0.5312 GB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.6616, allocations: 206.1 kB / 0.5314 GB, free: 9.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.6617, allocations: 45.66 kB / 0.5314 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.6617, allocations: 6.469 kB / 0.5315 GB, free: 9.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.6618, allocations: 337.1 kB / 0.5318 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.662, allocations: 96.08 kB / 0.5319 GB, free: 9.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.6623, allocations: 220.6 kB / 0.5321 GB, free: 8.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.6626, allocations: 113.1 kB / 0.5322 GB, free: 8.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6626, allocations: 0 / 0.5322 GB, free: 8.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006688/0.6633, allocations: 342.6 kB / 0.5325 GB, free: 8.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6634, allocations: 9.641 kB / 0.5325 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6634, allocations: 6.188 kB / 0.5325 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.6634, allocations: 5.875 kB / 0.5325 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.6636, allocations: 69.91 kB / 0.5326 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.6637, allocations: 14.02 kB / 0.5326 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.6639, allocations: 46.83 kB / 0.5327 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.664, allocations: 21.67 kB / 0.5327 GB, free: 8.801 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.000145/0.6641, allocations: 150.6 kB / 0.5328 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.6642, allocations: 31.47 kB / 0.5329 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.6652, allocations: 0.7832 MB / 0.5336 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.6652, allocations: 7.312 kB / 0.5336 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6652, allocations: 0 / 0.5336 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6652, allocations: 0 / 0.5336 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.6657, allocations: 0.5338 MB / 0.5341 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.6657, allocations: 0 / 0.5341 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.6659, allocations: 61.33 kB / 0.5342 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6659, allocations: 0 / 0.5342 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.666, allocations: 7.125 kB / 0.5342 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.666, allocations: 0 / 0.5342 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.666, allocations: 3 kB / 0.5342 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.6666, allocations: 486.5 kB / 0.5347 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.6667, allocations: 182.7 kB / 0.5349 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.6667, allocations: 7.75 kB / 0.5349 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.667, allocations: 23.97 kB / 0.5349 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.667, allocations: 23.91 kB / 0.5349 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.6671, allocations: 7.844 kB / 0.5349 GB, free: 7.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.6674, allocations: 336.8 kB / 0.5352 GB, free: 7.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6674, allocations: 0 / 0.5352 GB, free: 7.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003535/0.6709, allocations: 0.8402 MB / 0.5361 GB, free: 6.277 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004414/0.6753, allocations: 0.9902 MB / 0.537 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007058/0.6761, allocations: 293.5 kB / 0.5373 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6761, allocations: 2.906 kB / 0.5373 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.6763, allocations: 178.6 kB / 0.5375 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.6773, allocations: 164.1 kB / 0.5376 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.6785, allocations: 1.045 MB / 0.5387 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.6788, allocations: 0.842 MB / 0.5395 GB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003189/0.6791, allocations: 145.9 kB / 0.5396 GB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.6792, allocations: 27.44 kB / 0.5396 GB, free: 2.922 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6792, allocations: 0 / 0.5396 GB, free: 2.922 MB / 382.1 MB Notification: Performance of Templates: time 0.05335/0.7326, allocations: 33.84 MB / 0.5727 GB, free: 1.281 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches