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.001038/0.001038, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2795/0.2795, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003252, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1681, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.045/0.2132, allocations: 30.32 MB / 0.5014 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.379/0.5922, allocations: 16.22 MB / 0.5172 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006499/0.5929, allocations: 10.25 kB / 0.5172 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009113/0.5939, allocations: 184.2 kB / 0.5174 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009861/0.5949, allocations: 250.9 kB / 0.5176 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02385/0.6187, allocations: 4.537 MB / 0.5221 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.6209, allocations: 1.091 MB / 0.5231 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.6213, allocations: 198 kB / 0.5233 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0131/0.6344, allocations: 5.415 MB / 0.5286 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007942/0.6353, allocations: 230.5 kB / 0.5288 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.6353, allocations: 13.38 kB / 0.5288 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01604/0.6514, allocations: 6.023 MB / 0.5347 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.6517, allocations: 72.16 kB / 0.5348 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004669/0.6522, allocations: 197.3 kB / 0.535 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.6649, allocations: 3.636 MB / 0.5385 GB, free: 5.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.665, allocations: 0 / 0.5385 GB, free: 5.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.665, allocations: 4 kB / 0.5385 GB, free: 5.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.665, allocations: 0 / 0.5385 GB, free: 5.672 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.002913/0.6679, allocations: 0.9465 MB / 0.5395 GB, free: 4.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.668, allocations: 9.719 kB / 0.5395 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.669, allocations: 132.3 kB / 0.5396 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.6694, allocations: 328.4 kB / 0.5399 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.6695, allocations: 23.84 kB / 0.5399 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.6695, allocations: 22.03 kB / 0.54 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.6706, allocations: 477.7 kB / 0.5404 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6706, allocations: 5.656 kB / 0.5404 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.6707, allocations: 17.41 kB / 0.5404 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.6707, allocations: 4.125 kB / 0.5404 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.6717, allocations: 396.2 kB / 0.5408 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.6742, allocations: 2.402 MB / 0.5432 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.6752, allocations: 304.3 kB / 0.5435 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.6755, allocations: 105.2 kB / 0.5436 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/0.6758, allocations: 489.8 kB / 0.544 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.6759, allocations: 32.47 kB / 0.544 GB, free: 1.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.6759, allocations: 0 / 0.544 GB, free: 1.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001639/0.6775, allocations: 0.4932 MB / 0.5445 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.6776, allocations: 110.2 kB / 0.5446 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.6779, allocations: 321.3 kB / 0.5449 GB, free: 488 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.6779, allocations: 25.7 kB / 0.545 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.6781, allocations: 211.7 kB / 0.5452 GB, free: 260 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.6781, allocations: 39.05 kB / 0.5452 GB, free: 224 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.6781, allocations: 34.58 kB / 0.5452 GB, free: 192 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6783, allocations: 336.5 kB / 0.5456 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.6786, allocations: 97.48 kB / 0.5457 GB, free: 15.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.6789, allocations: 220.8 kB / 0.5459 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/0.6796, allocations: 301.9 kB / 0.5462 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6796, allocations: 0 / 0.5462 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000737/0.6803, allocations: 340.1 kB / 0.5465 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6803, allocations: 10.09 kB / 0.5465 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6804, allocations: 6.094 kB / 0.5465 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.6804, allocations: 3.625 kB / 0.5465 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.6806, allocations: 68.8 kB / 0.5466 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.6807, allocations: 14.56 kB / 0.5466 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.681, allocations: 51.2 kB / 0.5466 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.681, allocations: 18.14 kB / 0.5466 GB, free: 15.14 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.0001801/0.6812, allocations: 148.7 kB / 0.5468 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.6813, allocations: 30.91 kB / 0.5468 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.6825, allocations: 0.7757 MB / 0.5476 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.6825, allocations: 11.39 kB / 0.5476 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6825, allocations: 7.875 kB / 0.5476 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6825, allocations: 4 kB / 0.5476 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.6831, allocations: 0.5304 MB / 0.5481 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6831, allocations: 0 / 0.5481 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.6834, allocations: 48.42 kB / 0.5482 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6834, allocations: 7.188 kB / 0.5482 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6834, allocations: 4 kB / 0.5482 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6834, allocations: 4 kB / 0.5482 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6834, allocations: 3.938 kB / 0.5482 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.6841, allocations: 483.6 kB / 0.5486 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.6843, allocations: 184.1 kB / 0.5488 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.6844, allocations: 6.938 kB / 0.5488 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.6846, allocations: 33.06 kB / 0.5488 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.6847, allocations: 22.31 kB / 0.5489 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.6847, allocations: 3.531 kB / 0.5489 GB, free: 13.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003702/0.6851, allocations: 340.8 kB / 0.5492 GB, free: 13.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6851, allocations: 0 / 0.5492 GB, free: 13.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00337/0.6885, allocations: 0.8508 MB / 0.55 GB, free: 12.65 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.004478/0.693, allocations: 0.9836 MB / 0.551 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000836/0.6938, allocations: 295.7 kB / 0.5513 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6938, allocations: 0.75 kB / 0.5513 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.6942, allocations: 175.9 kB / 0.5514 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6953, allocations: 181.8 kB / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.6968, allocations: 1.034 MB / 0.5526 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.6973, allocations: 0.8463 MB / 0.5534 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.6976, allocations: 142.8 kB / 0.5536 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.6977, allocations: 31.44 kB / 0.5536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6977, allocations: 0 / 0.5536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of Templates: time 0.05153/0.7493, allocations: 33.46 MB / 0.5863 GB, free: 7.613 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