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.001455/0.001455, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001879, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 83.94 kB / 418.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1707, allocations: 62.44 MB / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03691/0.2077, allocations: 30.18 MB / 0.4989 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3526/0.5604, allocations: 15.53 MB / 0.5141 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000465/0.5609, allocations: 8.438 kB / 0.5141 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008376/0.5618, allocations: 219.7 kB / 0.5143 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007321/0.5625, allocations: 271.8 kB / 0.5145 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02244/0.585, allocations: 5.637 MB / 0.5201 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.5866, allocations: 0.8157 MB / 0.5208 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.5871, allocations: 237.7 kB / 0.5211 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/0.601, allocations: 5.472 MB / 0.5264 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.6017, allocations: 236.4 kB / 0.5266 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.071e-05/0.6018, allocations: 28.03 kB / 0.5267 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0158/0.6176, allocations: 5.955 MB / 0.5325 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.6178, allocations: 85.64 kB / 0.5326 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.6183, allocations: 180.7 kB / 0.5327 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.6284, allocations: 3.668 MB / 0.5363 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6285, allocations: 4 kB / 0.5363 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6285, allocations: 2.875 kB / 0.5363 GB, free: 4.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.6285, allocations: 0 / 0.5363 GB, free: 4.781 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.00266/0.6312, allocations: 1.006 MB / 0.5373 GB, free: 4.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.6312, allocations: 9.125 kB / 0.5373 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009955/0.6322, allocations: 121.4 kB / 0.5374 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.6326, allocations: 323.1 kB / 0.5377 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.6327, allocations: 26.28 kB / 0.5378 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.6327, allocations: 23.38 kB / 0.5378 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.6338, allocations: 464.2 kB / 0.5382 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.6338, allocations: 0 / 0.5382 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.6338, allocations: 15.34 kB / 0.5382 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.6338, allocations: 7.469 kB / 0.5383 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.6349, allocations: 368.6 kB / 0.5386 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.6378, allocations: 2.393 MB / 0.5409 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009625/0.6388, allocations: 272 kB / 0.5412 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.6391, allocations: 100.8 kB / 0.5413 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/0.6395, allocations: 478.1 kB / 0.5418 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.6395, allocations: 41.25 kB / 0.5418 GB, free: 124 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.6395, allocations: 0 / 0.5418 GB, free: 124 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001754/0.6413, allocations: 451.7 kB / 0.5422 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.6414, allocations: 102.8 kB / 0.5423 GB, free: 15.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.6418, allocations: 323.8 kB / 0.5426 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.6418, allocations: 32.86 kB / 0.5427 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.642, allocations: 204.8 kB / 0.5429 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.6421, allocations: 44.17 kB / 0.5429 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.6422, allocations: 59.27 kB / 0.543 GB, free: 15.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6424, allocations: 342.2 kB / 0.5433 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.6427, allocations: 92.34 kB / 0.5434 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.6431, allocations: 206.5 kB / 0.5436 GB, free: 14.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.6437, allocations: 286.3 kB / 0.5438 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6438, allocations: 0 / 0.5438 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007519/0.6445, allocations: 317.1 kB / 0.5441 GB, free: 14.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.6446, allocations: 4.438 kB / 0.5441 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6446, allocations: 5.562 kB / 0.5442 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.6446, allocations: 4.312 kB / 0.5442 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.6448, allocations: 66.02 kB / 0.5442 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.6449, allocations: 12.64 kB / 0.5442 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.6451, allocations: 44.2 kB / 0.5443 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.6451, allocations: 16.12 kB / 0.5443 GB, free: 14.22 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.0001578/0.6453, allocations: 160.5 kB / 0.5444 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.6454, allocations: 29.34 kB / 0.5445 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.6465, allocations: 0.7424 MB / 0.5452 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.6465, allocations: 6.734 kB / 0.5452 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6465, allocations: 3.938 kB / 0.5452 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6465, allocations: 4 kB / 0.5452 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.6471, allocations: 0.5273 MB / 0.5457 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6471, allocations: 0 / 0.5457 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.6473, allocations: 45.2 kB / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6473, allocations: 0 / 0.5458 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6473, allocations: 6.156 kB / 0.5458 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6473, allocations: 0 / 0.5458 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.6473, allocations: 7.922 kB / 0.5458 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.648, allocations: 463 kB / 0.5462 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.6481, allocations: 119.5 kB / 0.5463 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.6482, allocations: 17.38 kB / 0.5464 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.6484, allocations: 20.42 kB / 0.5464 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.6485, allocations: 21.38 kB / 0.5464 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.6485, allocations: 10.97 kB / 0.5464 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003771/0.6489, allocations: 345.5 kB / 0.5467 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6489, allocations: 0 / 0.5467 GB, free: 12.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003604/0.6525, allocations: 0.8424 MB / 0.5476 GB, free: 11.98 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.003411/0.6559, allocations: 1.001 MB / 0.5485 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007735/0.6567, allocations: 283.7 kB / 0.5488 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.6567, allocations: 4 kB / 0.5488 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.657, allocations: 163.9 kB / 0.549 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009339/0.658, allocations: 184.4 kB / 0.5491 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.6594, allocations: 0.8796 MB / 0.55 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.6599, allocations: 0.8346 MB / 0.5508 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.6599, allocations: 39.42 kB / 0.5509 GB, free: 8.641 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.66, allocations: 0 / 0.5509 GB, free: 8.641 MB / 398.1 MB Notification: Performance of Templates: time 0.03628/0.6962, allocations: 19.9 MB / 0.5703 GB, free: 4.758 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