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.001319/0.001319, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001338, allocations: 200.6 kB / 19.34 MB, free: 3.68 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.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 71.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1306, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03436/0.165, allocations: 30.18 MB / 0.4996 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2946/0.4596, allocations: 15.53 MB / 0.5148 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.4601, allocations: 12.62 kB / 0.5148 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007758/0.4609, allocations: 219.1 kB / 0.515 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006829/0.4616, allocations: 267.4 kB / 0.5153 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02083/0.4824, allocations: 5.644 MB / 0.5208 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.4839, allocations: 0.8132 MB / 0.5216 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.4844, allocations: 233.1 kB / 0.5218 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01295/0.4973, allocations: 5.475 MB / 0.5272 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.498, allocations: 238.7 kB / 0.5274 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.4981, allocations: 28.59 kB / 0.5274 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01439/0.5125, allocations: 6.089 MB / 0.5334 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.5127, allocations: 91.98 kB / 0.5334 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.5131, allocations: 182.9 kB / 0.5336 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.5237, allocations: 3.666 MB / 0.5372 GB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5237, allocations: 0 / 0.5372 GB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5237, allocations: 0 / 0.5372 GB, free: 5.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.5237, allocations: 2.344 kB / 0.5372 GB, free: 5.016 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.002873/0.5266, allocations: 1.007 MB / 0.5382 GB, free: 4.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5267, allocations: 8.25 kB / 0.5382 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009766/0.5277, allocations: 126.7 kB / 0.5383 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.5282, allocations: 346 kB / 0.5386 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.5282, allocations: 19.75 kB / 0.5387 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.5283, allocations: 24.47 kB / 0.5387 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.5292, allocations: 456.9 kB / 0.5391 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5292, allocations: 0 / 0.5391 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.5293, allocations: 11.16 kB / 0.5391 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.5293, allocations: 11.41 kB / 0.5391 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009635/0.5303, allocations: 368 kB / 0.5395 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.5329, allocations: 2.381 MB / 0.5418 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009268/0.5338, allocations: 273.8 kB / 0.5421 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.5341, allocations: 101.2 kB / 0.5422 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003662/0.5345, allocations: 487 kB / 0.5426 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.5345, allocations: 32.56 kB / 0.5427 GB, free: 368 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.5345, allocations: 0 / 0.5427 GB, free: 368 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001515/0.536, allocations: 446.9 kB / 0.5431 GB, free: 140 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.5361, allocations: 110.7 kB / 0.5432 GB, free: 4 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.5365, allocations: 326 kB / 0.5435 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.5366, allocations: 33.7 kB / 0.5435 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.5367, allocations: 211.4 kB / 0.5437 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.5368, allocations: 36.61 kB / 0.5438 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.5369, allocations: 59.23 kB / 0.5438 GB, free: 15.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5371, allocations: 340.4 kB / 0.5442 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.5373, allocations: 83.09 kB / 0.5442 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.5377, allocations: 208.1 kB / 0.5444 GB, free: 14.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.5383, allocations: 279.3 kB / 0.5447 GB, free: 14.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5383, allocations: 3.469 kB / 0.5447 GB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007033/0.539, allocations: 314.2 kB / 0.545 GB, free: 14.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.5391, allocations: 6.625 kB / 0.545 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5391, allocations: 3.5 kB / 0.545 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.5391, allocations: 9.344 kB / 0.545 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.5394, allocations: 67.45 kB / 0.5451 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.5394, allocations: 17.05 kB / 0.5451 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.5397, allocations: 39.36 kB / 0.5451 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.5397, allocations: 10.16 kB / 0.5452 GB, free: 14.46 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.0001861/0.5399, allocations: 157.5 kB / 0.5453 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.54, allocations: 33.03 kB / 0.5453 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.5411, allocations: 0.7397 MB / 0.5461 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.5411, allocations: 3.984 kB / 0.5461 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5411, allocations: 10.56 kB / 0.5461 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5411, allocations: 3.516 kB / 0.5461 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.5417, allocations: 0.5297 MB / 0.5466 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5417, allocations: 0 / 0.5466 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.5419, allocations: 53.61 kB / 0.5466 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5419, allocations: 0 / 0.5466 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.5419, allocations: 0 / 0.5466 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5419, allocations: 2.875 kB / 0.5466 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5419, allocations: 7.938 kB / 0.5467 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.5426, allocations: 466.6 kB / 0.5471 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.5427, allocations: 119.7 kB / 0.5472 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.5428, allocations: 21.25 kB / 0.5472 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.543, allocations: 21.48 kB / 0.5473 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.5431, allocations: 19.94 kB / 0.5473 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.5431, allocations: 6.875 kB / 0.5473 GB, free: 12.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000365/0.5435, allocations: 342.8 kB / 0.5476 GB, free: 12.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5435, allocations: 6.188 kB / 0.5476 GB, free: 12.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003493/0.547, allocations: 0.8382 MB / 0.5484 GB, free: 11.96 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.003953/0.551, allocations: 0.9948 MB / 0.5494 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007412/0.5517, allocations: 268.5 kB / 0.5497 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5517, allocations: 0 / 0.5497 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.552, allocations: 166.8 kB / 0.5498 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.0009034/0.5529, allocations: 188.8 kB / 0.55 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.5543, allocations: 0.8468 MB / 0.5508 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.5547, allocations: 0.8424 MB / 0.5516 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.555, allocations: 134.8 kB / 0.5518 GB, free: 8.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.5551, allocations: 39.42 kB / 0.5518 GB, free: 8.547 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5551, allocations: 3.938 kB / 0.5518 GB, free: 8.543 MB / 398.1 MB Notification: Performance of Templates: time 0.04559/0.6007, allocations: 33.78 MB / 0.5848 GB, free: 6.812 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 -s cvode -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