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.001357/0.001357, allocations: 115.7 kB / 18.45 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.001453/0.001453, allocations: 217.9 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.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.11 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.89 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3101, allocations: 62.43 MB / 0.5316 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03363/0.3438, allocations: 30.19 MB / 0.5611 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01852/0.3623, allocations: 15.54 MB / 0.5763 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.3628, allocations: 15.94 kB / 0.5763 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.3637, allocations: 218.6 kB / 0.5765 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007289/0.3644, allocations: 262.4 kB / 0.5768 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01598/0.3804, allocations: 5.652 MB / 0.5823 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.3816, allocations: 0.8147 MB / 0.5831 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.3821, allocations: 228.8 kB / 0.5833 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.3936, allocations: 5.485 MB / 0.5887 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.3942, allocations: 235 kB / 0.5889 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.3943, allocations: 28 kB / 0.5889 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01175/0.406, allocations: 6.096 MB / 0.5949 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.4063, allocations: 87.73 kB / 0.595 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.4066, allocations: 195.1 kB / 0.5951 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008259/0.4149, allocations: 3.653 MB / 0.5987 GB, free: 12.99 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4149, allocations: 0 / 0.5987 GB, free: 12.99 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4149, allocations: 0 / 0.5987 GB, free: 12.99 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.415, allocations: 0 / 0.5987 GB, free: 12.99 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.002533/0.4175, allocations: 1.006 MB / 0.5997 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4175, allocations: 8.031 kB / 0.5997 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.4186, allocations: 112.4 kB / 0.5998 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.4192, allocations: 346.5 kB / 0.6001 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.4192, allocations: 24.94 kB / 0.6002 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.4193, allocations: 24.38 kB / 0.6002 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.4205, allocations: 462.8 kB / 0.6006 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4205, allocations: 0 / 0.6006 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.4206, allocations: 15.98 kB / 0.6006 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4206, allocations: 7.938 kB / 0.6006 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.4218, allocations: 369.3 kB / 0.601 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/0.4249, allocations: 2.376 MB / 0.6033 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.4259, allocations: 278.3 kB / 0.6036 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.4262, allocations: 100.8 kB / 0.6037 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.4267, allocations: 481.4 kB / 0.6041 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4267, allocations: 38.55 kB / 0.6042 GB, free: 6.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 3.096e-06/0.4267, allocations: 0 / 0.6042 GB, free: 6.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001782/0.4285, allocations: 453 kB / 0.6046 GB, free: 6.484 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.4286, allocations: 114.8 kB / 0.6047 GB, free: 6.348 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.4289, allocations: 320.5 kB / 0.605 GB, free: 6.023 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.429, allocations: 25.7 kB / 0.605 GB, free: 5.992 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.4291, allocations: 211.6 kB / 0.6053 GB, free: 5.781 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.4292, allocations: 43.45 kB / 0.6053 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.4293, allocations: 53.69 kB / 0.6053 GB, free: 5.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4294, allocations: 338.8 kB / 0.6057 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.4297, allocations: 87.92 kB / 0.6057 GB, free: 5.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.4301, allocations: 203.3 kB / 0.6059 GB, free: 5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.4306, allocations: 273.9 kB / 0.6062 GB, free: 4.684 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4306, allocations: 4 kB / 0.6062 GB, free: 4.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008084/0.4315, allocations: 333.1 kB / 0.6065 GB, free: 4.348 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4315, allocations: 4 kB / 0.6065 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4315, allocations: 4 kB / 0.6065 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4315, allocations: 4 kB / 0.6065 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.4318, allocations: 67.89 kB / 0.6066 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4318, allocations: 7.938 kB / 0.6066 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.4321, allocations: 39.67 kB / 0.6066 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.4321, allocations: 19.98 kB / 0.6067 GB, free: 4.203 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.0001535/0.4323, allocations: 153.8 kB / 0.6068 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.4323, allocations: 27.62 kB / 0.6068 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.4335, allocations: 0.7533 MB / 0.6076 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.4335, allocations: 11.98 kB / 0.6076 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4335, allocations: 3.938 kB / 0.6076 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4335, allocations: 0 / 0.6076 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.4341, allocations: 0.5336 MB / 0.6081 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4341, allocations: 0 / 0.6081 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.4343, allocations: 39.95 kB / 0.6082 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4343, allocations: 3.938 kB / 0.6082 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4344, allocations: 12 kB / 0.6082 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4344, allocations: 0 / 0.6082 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4344, allocations: 3.938 kB / 0.6082 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/0.4352, allocations: 461.6 kB / 0.6086 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4353, allocations: 116.6 kB / 0.6087 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.4353, allocations: 23.69 kB / 0.6087 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.4356, allocations: 19.98 kB / 0.6088 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.4356, allocations: 23.91 kB / 0.6088 GB, free: 1.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4357, allocations: 4 kB / 0.6088 GB, free: 1.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.4361, allocations: 342.9 kB / 0.6091 GB, free: 1.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4361, allocations: 0 / 0.6091 GB, free: 1.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0024/0.4385, allocations: 0.8394 MB / 0.6099 GB, free: 0.75 MB / 462.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.004216/0.4427, allocations: 0.9824 MB / 0.6109 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007742/0.4435, allocations: 284.2 kB / 0.6112 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4435, allocations: 0 / 0.6112 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.4438, allocations: 163.9 kB / 0.6113 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.4449, allocations: 190.9 kB / 0.6115 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4462, allocations: 0.86 MB / 0.6123 GB, free: 14.26 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.4466, allocations: 0.8422 MB / 0.6132 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.4467, allocations: 35.42 kB / 0.6132 GB, free: 13.36 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4467, allocations: 0 / 0.6132 GB, free: 13.36 MB / 478.1 MB Notification: Performance of Templates: time 0.02895/0.4757, allocations: 19.89 MB / 0.6326 GB, free: 9.469 MB / 494.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