Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 117.7 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2375/0.2375, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 78.31 kB / 417.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1527, allocations: 62.44 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03938/0.1922, allocations: 30.28 MB / 0.4978 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3206/0.5128, allocations: 15.59 MB / 0.513 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005893/0.5135, allocations: 12.47 kB / 0.5131 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.5147, allocations: 187.6 kB / 0.5132 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.5157, allocations: 260.4 kB / 0.5135 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02094/0.5366, allocations: 4.983 MB / 0.5184 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.5382, allocations: 0.815 MB / 0.5191 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.5387, allocations: 225.7 kB / 0.5194 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/0.5504, allocations: 5.466 MB / 0.5247 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006658/0.5511, allocations: 240.3 kB / 0.5249 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.798e-05/0.5511, allocations: 28.88 kB / 0.525 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/0.5647, allocations: 6.021 MB / 0.5308 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.5649, allocations: 83.41 kB / 0.5309 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.5654, allocations: 187.7 kB / 0.5311 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.5765, allocations: 3.679 MB / 0.5347 GB, free: 5.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.5765, allocations: 0 / 0.5347 GB, free: 5.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5766, allocations: 0 / 0.5347 GB, free: 5.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.5766, allocations: 2.562 kB / 0.5347 GB, free: 5.461 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.003013/0.5796, allocations: 1.003 MB / 0.5357 GB, free: 4.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5797, allocations: 6.094 kB / 0.5357 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009871/0.5806, allocations: 119.6 kB / 0.5358 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.581, allocations: 327.2 kB / 0.5361 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.581, allocations: 28.88 kB / 0.5361 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.5811, allocations: 25.22 kB / 0.5362 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.5821, allocations: 449.6 kB / 0.5366 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5821, allocations: 5.781 kB / 0.5366 GB, free: 4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.5821, allocations: 12.09 kB / 0.5366 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.5821, allocations: 14.3 kB / 0.5366 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009557/0.5831, allocations: 367.2 kB / 0.537 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.5855, allocations: 2.388 MB / 0.5393 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.5865, allocations: 268.4 kB / 0.5396 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.5868, allocations: 102.6 kB / 0.5397 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/0.5871, allocations: 481.6 kB / 0.5401 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.5871, allocations: 37.19 kB / 0.5401 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.5871, allocations: 0 / 0.5401 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001584/0.5887, allocations: 449.3 kB / 0.5406 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.5888, allocations: 109.3 kB / 0.5407 GB, free: 472 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.5891, allocations: 328 kB / 0.541 GB, free: 256 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.5891, allocations: 27.8 kB / 0.541 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5892, allocations: 212.3 kB / 0.5412 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.5893, allocations: 41.31 kB / 0.5413 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.5894, allocations: 54.58 kB / 0.5413 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5895, allocations: 338.4 kB / 0.5416 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.5898, allocations: 87.77 kB / 0.5417 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.5902, allocations: 213.8 kB / 0.5419 GB, free: 15.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/0.5908, allocations: 286.9 kB / 0.5422 GB, free: 15.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5908, allocations: 0 / 0.5422 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007163/0.5915, allocations: 312.9 kB / 0.5425 GB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.5915, allocations: 5.688 kB / 0.5425 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5915, allocations: 8.844 kB / 0.5425 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5916, allocations: 5.219 kB / 0.5425 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.5918, allocations: 65.2 kB / 0.5426 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5919, allocations: 13.06 kB / 0.5426 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.5922, allocations: 50.7 kB / 0.5426 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.5922, allocations: 14.53 kB / 0.5426 GB, free: 14.9 MB / 398.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_2.medium.phase,boundary_prescriberho_1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.5924, allocations: 160.5 kB / 0.5428 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.5925, allocations: 33.56 kB / 0.5428 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.5936, allocations: 0.7418 MB / 0.5436 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.5936, allocations: 15.39 kB / 0.5436 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5937, allocations: 3.938 kB / 0.5436 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5937, allocations: 0 / 0.5436 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.5943, allocations: 0.5272 MB / 0.5441 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5943, allocations: 1.25 kB / 0.5441 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.5945, allocations: 46.08 kB / 0.5441 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5945, allocations: 0 / 0.5441 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.5945, allocations: 8 kB / 0.5441 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5945, allocations: 3.031 kB / 0.5441 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5946, allocations: 3.938 kB / 0.5442 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007298/0.5953, allocations: 466.5 kB / 0.5446 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.5954, allocations: 119.2 kB / 0.5447 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.5955, allocations: 20.94 kB / 0.5447 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.5957, allocations: 25.33 kB / 0.5448 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.5958, allocations: 27.84 kB / 0.5448 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.5958, allocations: 2.156 kB / 0.5448 GB, free: 13.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003969/0.5962, allocations: 349.1 kB / 0.5451 GB, free: 13.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5962, allocations: 3.938 kB / 0.5451 GB, free: 13.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003591/0.5998, allocations: 0.8407 MB / 0.5459 GB, free: 12.68 MB / 398.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 (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.005152/0.605, allocations: 0.9767 MB / 0.5469 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008233/0.6059, allocations: 286.5 kB / 0.5472 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6059, allocations: 0.9375 kB / 0.5472 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.6062, allocations: 171.9 kB / 0.5473 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6073, allocations: 179 kB / 0.5475 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.6088, allocations: 1.023 MB / 0.5485 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.6092, allocations: 0.8424 MB / 0.5493 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003585/0.6096, allocations: 138.7 kB / 0.5495 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.6097, allocations: 35.42 kB / 0.5495 GB, free: 9.082 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.6097, allocations: 0 / 0.5495 GB, free: 9.082 MB / 398.1 MB Notification: Performance of Templates: time 0.05113/0.6608, allocations: 33.75 MB / 0.5824 GB, free: 7.41 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches