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.001538/0.001538, allocations: 112.7 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3238, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03105/0.3549, allocations: 30.19 MB / 0.5611 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.018/0.3729, allocations: 15.54 MB / 0.5763 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.3733, allocations: 7.938 kB / 0.5763 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.374, allocations: 222.5 kB / 0.5765 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005294/0.3745, allocations: 262.4 kB / 0.5768 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01419/0.3887, allocations: 5.64 MB / 0.5823 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.3898, allocations: 0.8225 MB / 0.5831 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.3901, allocations: 236.7 kB / 0.5833 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009859/0.4, allocations: 5.478 MB / 0.5887 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.4004, allocations: 243 kB / 0.5889 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.4005, allocations: 28 kB / 0.5889 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.4112, allocations: 6.088 MB / 0.5949 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.4113, allocations: 91.72 kB / 0.595 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.4115, allocations: 191.1 kB / 0.5951 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005831/0.4174, allocations: 3.657 MB / 0.5987 GB, free: 12.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4174, allocations: 4 kB / 0.5987 GB, free: 12.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4174, allocations: 0 / 0.5987 GB, free: 12.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.4174, allocations: 0 / 0.5987 GB, free: 12.84 MB / 462.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.001999/0.4194, allocations: 0.9979 MB / 0.5997 GB, free: 11.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4195, allocations: 12.03 kB / 0.5997 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009737/0.4205, allocations: 120.4 kB / 0.5998 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.421, allocations: 342.5 kB / 0.6001 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.421, allocations: 24.94 kB / 0.6002 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.421, allocations: 28.38 kB / 0.6002 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.4221, allocations: 450.9 kB / 0.6006 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4221, allocations: 3.938 kB / 0.6006 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.4222, allocations: 12 kB / 0.6006 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.4222, allocations: 8 kB / 0.6006 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.4232, allocations: 369.3 kB / 0.601 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/0.426, allocations: 2.387 MB / 0.6033 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009585/0.427, allocations: 274.3 kB / 0.6036 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.4272, allocations: 96.8 kB / 0.6037 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/0.4276, allocations: 481.4 kB / 0.6041 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4277, allocations: 42.56 kB / 0.6042 GB, free: 6.789 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.4277, allocations: 0 / 0.6042 GB, free: 6.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001631/0.4293, allocations: 449 kB / 0.6046 GB, free: 6.344 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.4294, allocations: 114.8 kB / 0.6047 GB, free: 6.207 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.4297, allocations: 324.4 kB / 0.605 GB, free: 5.879 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.4297, allocations: 25.7 kB / 0.6051 GB, free: 5.848 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4299, allocations: 211.6 kB / 0.6053 GB, free: 5.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4299, allocations: 39.45 kB / 0.6053 GB, free: 5.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.43, allocations: 53.69 kB / 0.6053 GB, free: 5.539 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4301, allocations: 346.8 kB / 0.6057 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.4304, allocations: 79.94 kB / 0.6058 GB, free: 5.113 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.4307, allocations: 211.3 kB / 0.606 GB, free: 4.852 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.4312, allocations: 277.5 kB / 0.6062 GB, free: 4.531 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4312, allocations: 0 / 0.6062 GB, free: 4.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006752/0.4319, allocations: 325.2 kB / 0.6065 GB, free: 4.207 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4319, allocations: 11.98 kB / 0.6065 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.432, allocations: 4 kB / 0.6065 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.432, allocations: 4 kB / 0.6066 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.4322, allocations: 55.91 kB / 0.6066 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.4322, allocations: 19.86 kB / 0.6066 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.4325, allocations: 44.08 kB / 0.6067 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.4325, allocations: 12 kB / 0.6067 GB, free: 4.059 MB / 462.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.0001445/0.4327, allocations: 153.8 kB / 0.6068 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.4327, allocations: 31.62 kB / 0.6069 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.4338, allocations: 0.7378 MB / 0.6076 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4338, allocations: 3.938 kB / 0.6076 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4338, allocations: 0 / 0.6076 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.4339, allocations: 120.5 kB / 0.6077 GB, free: 2.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.4339, allocations: 23.69 kB / 0.6077 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.4342, allocations: 35.95 kB / 0.6078 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.4343, allocations: 19.97 kB / 0.6078 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006442/0.4349, allocations: 420.1 kB / 0.6082 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006668/0.4356, allocations: 0.5325 MB / 0.6087 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002615/0.4359, allocations: 163.2 kB / 0.6088 GB, free: 1.777 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.4362, allocations: 342.9 kB / 0.6092 GB, free: 1.441 MB / 462.1 MB Notification: Performance of Backend: time 3.91e-07/0.4362, allocations: 0 / 0.6092 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00455/0.4408, allocations: 1.283 MB / 0.6104 GB, free: 168 kB / 462.1 MB Notification: Performance of SimCode: time 0.001538/0.4423, allocations: 1.281 MB / 0.6117 GB, free: 14.84 MB / 478.1 MB Notification: Performance of Templates: time 0.05524/0.4976, allocations: 36.92 MB / 0.6477 GB, free: 9.938 MB / 0.4981 GB 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