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.0009163/0.0009157, allocations: 97.89 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009539/0.0009539, allocations: 203.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2491/0.2491, allocations: 45.91 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 4 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1668, allocations: 63.46 MB / 481.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03362/0.2005, allocations: 25.45 MB / 0.495 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.369/0.5696, allocations: 13.21 MB / 0.5079 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007597/0.5705, allocations: 11.62 kB / 0.5079 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.5716, allocations: 174.8 kB / 0.508 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009766/0.5726, allocations: 225.4 kB / 0.5082 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01926/0.5918, allocations: 4.382 MB / 0.5125 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.5935, allocations: 487.8 kB / 0.513 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.594, allocations: 184.5 kB / 0.5132 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02158/0.6156, allocations: 8.857 MB / 0.5218 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.6162, allocations: 156.4 kB / 0.522 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.6163, allocations: 12.59 kB / 0.522 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.6311, allocations: 5.941 MB / 0.5278 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.6314, allocations: 67.44 kB / 0.5278 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.6317, allocations: 92.11 kB / 0.5279 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006396/0.6381, allocations: 2.463 MB / 0.5303 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6381, allocations: 1.875 kB / 0.5303 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6381, allocations: 0 / 0.5303 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.6381, allocations: 0 / 0.5303 GB, free: 10.92 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.003123/0.6412, allocations: 0.9433 MB / 0.5313 GB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.6413, allocations: 10.41 kB / 0.5313 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.6423, allocations: 125.7 kB / 0.5314 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.6428, allocations: 319.7 kB / 0.5317 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.6428, allocations: 25.62 kB / 0.5317 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.6428, allocations: 23.41 kB / 0.5317 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.6439, allocations: 471 kB / 0.5322 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.644, allocations: 0 / 0.5322 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.644, allocations: 15.78 kB / 0.5322 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.644, allocations: 5.484 kB / 0.5322 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.6451, allocations: 395.4 kB / 0.5326 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.6477, allocations: 2.398 MB / 0.5349 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009644/0.6487, allocations: 307.7 kB / 0.5352 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/0.649, allocations: 490 kB / 0.5357 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.6491, allocations: 33.81 kB / 0.5357 GB, free: 6.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.6491, allocations: 0 / 0.5357 GB, free: 6.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00156/0.6507, allocations: 0.4919 MB / 0.5362 GB, free: 6.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.6507, allocations: 102.8 kB / 0.5363 GB, free: 6.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.651, allocations: 316.4 kB / 0.5366 GB, free: 6.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.6511, allocations: 32.95 kB / 0.5366 GB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.6512, allocations: 212.2 kB / 0.5368 GB, free: 6.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.6513, allocations: 37.53 kB / 0.5369 GB, free: 6.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.6513, allocations: 3.562 kB / 0.5369 GB, free: 6.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.6514, allocations: 344.7 kB / 0.5372 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.6517, allocations: 92.12 kB / 0.5373 GB, free: 5.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.652, allocations: 209.8 kB / 0.5375 GB, free: 5.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.6523, allocations: 118.5 kB / 0.5376 GB, free: 5.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6523, allocations: 0 / 0.5376 GB, free: 5.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006643/0.6529, allocations: 340.4 kB / 0.5379 GB, free: 5.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.653, allocations: 8 kB / 0.5379 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.653, allocations: 4 kB / 0.5379 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.653, allocations: 7.953 kB / 0.538 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.6533, allocations: 74.84 kB / 0.538 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.6533, allocations: 4 kB / 0.538 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.6536, allocations: 58.31 kB / 0.5381 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.6536, allocations: 12 kB / 0.5381 GB, free: 4.879 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.0001577/0.6538, allocations: 150.9 kB / 0.5382 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.6538, allocations: 35.61 kB / 0.5383 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.6549, allocations: 0.774 MB / 0.539 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.6549, allocations: 19.81 kB / 0.539 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.655, allocations: 4 kB / 0.5391 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.655, allocations: 3.094 kB / 0.5391 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.6555, allocations: 0.5289 MB / 0.5396 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.6555, allocations: 0 / 0.5396 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.6557, allocations: 51.95 kB / 0.5396 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6557, allocations: 4 kB / 0.5396 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.6558, allocations: 3.25 kB / 0.5396 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6558, allocations: 0 / 0.5396 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6558, allocations: 11.94 kB / 0.5396 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.6564, allocations: 474.9 kB / 0.5401 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.6565, allocations: 182 kB / 0.5403 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.6566, allocations: 2.188 kB / 0.5403 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.6568, allocations: 37.02 kB / 0.5403 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.6569, allocations: 22.3 kB / 0.5403 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.6569, allocations: 4 kB / 0.5403 GB, free: 3.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.6573, allocations: 342.8 kB / 0.5407 GB, free: 2.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6573, allocations: 0 / 0.5407 GB, free: 2.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003636/0.6609, allocations: 0.8471 MB / 0.5415 GB, free: 1.93 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.003688/0.6646, allocations: 0.9955 MB / 0.5425 GB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007436/0.6654, allocations: 292.6 kB / 0.5427 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6654, allocations: 0 / 0.5427 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.6657, allocations: 175.6 kB / 0.5429 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008856/0.6666, allocations: 168.5 kB / 0.5431 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.6682, allocations: 1.041 MB / 0.5441 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.6688, allocations: 0.859 MB / 0.5449 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000521/0.6693, allocations: 141.3 kB / 0.5451 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/0.6694, allocations: 31.44 kB / 0.5451 GB, free: 14.56 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6695, allocations: 0 / 0.5451 GB, free: 14.56 MB / 398.1 MB Notification: Performance of Templates: time 0.06978/0.7392, allocations: 33.9 MB / 0.5782 GB, free: 12.82 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches