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.001507/0.001507, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 198.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.6 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.2126/0.2126, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 79.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3522, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0347/0.387, allocations: 30.19 MB / 0.5611 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01933/0.4063, allocations: 15.55 MB / 0.5763 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.4068, allocations: 7.938 kB / 0.5763 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.4079, allocations: 214.6 kB / 0.5765 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000971/0.4089, allocations: 274.4 kB / 0.5768 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01708/0.426, allocations: 5.647 MB / 0.5823 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.4272, allocations: 0.8109 MB / 0.5831 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/0.4277, allocations: 239.4 kB / 0.5833 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01372/0.4415, allocations: 5.485 MB / 0.5887 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.4421, allocations: 239 kB / 0.5889 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.4422, allocations: 28 kB / 0.5889 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.4552, allocations: 6.096 MB / 0.5949 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.4554, allocations: 91.66 kB / 0.595 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.4557, allocations: 187.1 kB / 0.5952 GB, free: 468 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007825/0.4636, allocations: 3.657 MB / 0.5987 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4636, allocations: 0 / 0.5987 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4636, allocations: 4 kB / 0.5987 GB, free: 12.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4636, allocations: 0 / 0.5987 GB, free: 12.79 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.002433/0.4661, allocations: 1.002 MB / 0.5997 GB, free: 11.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4661, allocations: 8.031 kB / 0.5997 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.4672, allocations: 124.4 kB / 0.5998 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.4678, allocations: 342.5 kB / 0.6002 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.4678, allocations: 20.94 kB / 0.6002 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.4679, allocations: 32.31 kB / 0.6002 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.4691, allocations: 450.9 kB / 0.6006 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4691, allocations: 4 kB / 0.6007 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.4691, allocations: 16 kB / 0.6007 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4692, allocations: 4 kB / 0.6007 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4703, allocations: 377.3 kB / 0.601 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.4735, allocations: 2.376 MB / 0.6034 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.4746, allocations: 278.3 kB / 0.6036 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.4749, allocations: 96.78 kB / 0.6037 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004046/0.4753, allocations: 485.4 kB / 0.6042 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4753, allocations: 34.56 kB / 0.6042 GB, free: 6.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.705e-06/0.4753, allocations: 4 kB / 0.6042 GB, free: 6.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001776/0.4771, allocations: 449.1 kB / 0.6046 GB, free: 6.281 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4772, allocations: 106.8 kB / 0.6047 GB, free: 6.152 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.4775, allocations: 324.4 kB / 0.605 GB, free: 5.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.4776, allocations: 29.7 kB / 0.6051 GB, free: 5.789 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.4777, allocations: 211.5 kB / 0.6053 GB, free: 5.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.4777, allocations: 39.45 kB / 0.6053 GB, free: 5.539 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.4778, allocations: 53.7 kB / 0.6054 GB, free: 5.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.478, allocations: 342.8 kB / 0.6057 GB, free: 5.137 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.4783, allocations: 87.94 kB / 0.6058 GB, free: 5.051 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.4786, allocations: 207.3 kB / 0.606 GB, free: 4.793 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005991/0.4792, allocations: 273.5 kB / 0.6062 GB, free: 4.477 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.4792, allocations: 4 kB / 0.6062 GB, free: 4.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007744/0.48, allocations: 320.9 kB / 0.6065 GB, free: 4.152 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4801, allocations: 8 kB / 0.6066 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4801, allocations: 4 kB / 0.6066 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4801, allocations: 4 kB / 0.6066 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.4804, allocations: 63.89 kB / 0.6066 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.4804, allocations: 11.88 kB / 0.6066 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.4807, allocations: 48 kB / 0.6067 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.4807, allocations: 20 kB / 0.6067 GB, free: 3.996 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.0001778/0.4809, allocations: 149.8 kB / 0.6068 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.481, allocations: 31.62 kB / 0.6069 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.4822, allocations: 0.7416 MB / 0.6076 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4822, allocations: 0 / 0.6076 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4822, allocations: 3.984 kB / 0.6076 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4824, allocations: 124.5 kB / 0.6077 GB, free: 2.914 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.4824, allocations: 19.69 kB / 0.6077 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.4827, allocations: 39.89 kB / 0.6078 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.4828, allocations: 15.98 kB / 0.6078 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00073/0.4835, allocations: 420.1 kB / 0.6082 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007734/0.4843, allocations: 0.5325 MB / 0.6087 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002905/0.4846, allocations: 159.9 kB / 0.6089 GB, free: 1.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003891/0.485, allocations: 342.9 kB / 0.6092 GB, free: 1.379 MB / 462.1 MB Notification: Performance of Backend: time 4.71e-07/0.485, allocations: 0 / 0.6092 GB, free: 1.379 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005726/0.4908, allocations: 1.286 MB / 0.6104 GB, free: 100 kB / 462.1 MB Notification: Performance of SimCode: time 0.001954/0.4927, allocations: 1.279 MB / 0.6117 GB, free: 14.78 MB / 478.1 MB Notification: Performance of Templates: time 0.05356/0.5463, allocations: 36.77 MB / 0.6476 GB, free: 10.03 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