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.001433/0.001432, allocations: 110.6 kB / 17.98 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 201.8 kB / 18.92 MB, free: 4.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 46.11 MB / 344.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 80.56 kB / 417.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1269, allocations: 62.43 MB / 480.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03556/0.1625, allocations: 30.28 MB / 0.4985 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2171/0.3796, allocations: 15.58 MB / 0.5137 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/0.3802, allocations: 12.34 kB / 0.5137 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009083/0.3811, allocations: 191.2 kB / 0.5139 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008067/0.3819, allocations: 254.3 kB / 0.5141 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01964/0.4016, allocations: 4.988 MB / 0.519 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.4028, allocations: 0.8116 MB / 0.5198 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.4032, allocations: 233.9 kB / 0.52 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/0.4137, allocations: 5.462 MB / 0.5253 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.4143, allocations: 249.6 kB / 0.5256 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.4143, allocations: 28 kB / 0.5256 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01224/0.4266, allocations: 6.013 MB / 0.5315 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.4268, allocations: 82.53 kB / 0.5316 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.4271, allocations: 187.6 kB / 0.5317 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.4319, allocations: 2.5 MB / 0.5342 GB, free: 6.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4319, allocations: 0 / 0.5342 GB, free: 6.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4319, allocations: 4 kB / 0.5342 GB, free: 6.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.4319, allocations: 3.938 kB / 0.5342 GB, free: 6.336 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.002262/0.4342, allocations: 0.9997 MB / 0.5352 GB, free: 5.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4342, allocations: 10.47 kB / 0.5352 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009693/0.4352, allocations: 125.9 kB / 0.5353 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.4355, allocations: 327.8 kB / 0.5356 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.4356, allocations: 22.69 kB / 0.5356 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.4356, allocations: 24.03 kB / 0.5357 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/0.4366, allocations: 453 kB / 0.5361 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4366, allocations: 3.938 kB / 0.5361 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.4367, allocations: 10.91 kB / 0.5361 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4367, allocations: 7.719 kB / 0.5361 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009656/0.4377, allocations: 370 kB / 0.5365 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.44, allocations: 2.39 MB / 0.5388 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/0.4409, allocations: 277.3 kB / 0.5391 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.4412, allocations: 96.8 kB / 0.5392 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.4415, allocations: 484.8 kB / 0.5396 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.4415, allocations: 37.47 kB / 0.5396 GB, free: 1.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.4415, allocations: 0 / 0.5396 GB, free: 1.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001528/0.4431, allocations: 461.6 kB / 0.5401 GB, free: 1.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.4431, allocations: 105.8 kB / 0.5402 GB, free: 1.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.4434, allocations: 322.3 kB / 0.5405 GB, free: 1.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4434, allocations: 31.48 kB / 0.5405 GB, free: 1.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.4435, allocations: 202.1 kB / 0.5407 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.4436, allocations: 41.23 kB / 0.5408 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.4436, allocations: 59.41 kB / 0.5408 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.4437, allocations: 336.5 kB / 0.5411 GB, free: 496 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.444, allocations: 94.8 kB / 0.5412 GB, free: 448 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.4442, allocations: 207 kB / 0.5414 GB, free: 244 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.4447, allocations: 271.2 kB / 0.5417 GB, free: 20 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4448, allocations: 0 / 0.5417 GB, free: 20 kB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007045/0.4455, allocations: 329.8 kB / 0.542 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4455, allocations: 5.594 kB / 0.542 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4455, allocations: 4.531 kB / 0.542 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4455, allocations: 9.438 kB / 0.542 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.4458, allocations: 65.36 kB / 0.5421 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4458, allocations: 9 kB / 0.5421 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.4461, allocations: 42.27 kB / 0.5421 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.4461, allocations: 18.33 kB / 0.5421 GB, free: 15.78 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.000151/0.4462, allocations: 152 kB / 0.5423 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.4463, allocations: 32 kB / 0.5423 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.4474, allocations: 0.7495 MB / 0.5431 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4474, allocations: 5.859 kB / 0.5431 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4474, allocations: 3.938 kB / 0.5431 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4474, allocations: 0 / 0.5431 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.448, allocations: 0.5379 MB / 0.5436 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.448, allocations: 0 / 0.5436 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.4482, allocations: 48.36 kB / 0.5436 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4482, allocations: 2.656 kB / 0.5436 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4482, allocations: 0 / 0.5436 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4482, allocations: 4 kB / 0.5436 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4482, allocations: 6.781 kB / 0.5436 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.4489, allocations: 465.2 kB / 0.5441 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.449, allocations: 120.1 kB / 0.5442 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.4491, allocations: 20.69 kB / 0.5442 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.4493, allocations: 28.98 kB / 0.5443 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.4494, allocations: 24.25 kB / 0.5443 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.4494, allocations: 6.906 kB / 0.5443 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003413/0.4498, allocations: 340.7 kB / 0.5446 GB, free: 14.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4498, allocations: 0 / 0.5446 GB, free: 14.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002731/0.4525, allocations: 0.8364 MB / 0.5454 GB, free: 13.83 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.003569/0.4561, allocations: 0.9901 MB / 0.5464 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007022/0.4568, allocations: 280.5 kB / 0.5467 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4568, allocations: 4 kB / 0.5467 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.4571, allocations: 163.9 kB / 0.5468 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000917/0.458, allocations: 188.4 kB / 0.547 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.4594, allocations: 1.043 MB / 0.548 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.4598, allocations: 0.8385 MB / 0.5488 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.867e-05/0.4599, allocations: 39.42 kB / 0.5489 GB, free: 10.33 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4599, allocations: 0 / 0.5489 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Templates: time 0.02859/0.4885, allocations: 19.92 MB / 0.5683 GB, free: 6.441 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches