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.001157/0.001157, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.249/0.249, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4621, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0366/0.4987, allocations: 30.18 MB / 0.5605 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02078/0.5196, allocations: 15.54 MB / 0.5756 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.5201, allocations: 15.94 kB / 0.5757 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000754/0.5209, allocations: 210.6 kB / 0.5759 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006517/0.5216, allocations: 266.4 kB / 0.5761 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01765/0.5392, allocations: 5.643 MB / 0.5816 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.5404, allocations: 0.8109 MB / 0.5824 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.5408, allocations: 236.7 kB / 0.5826 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/0.5541, allocations: 5.47 MB / 0.588 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006197/0.5548, allocations: 235 kB / 0.5882 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.5548, allocations: 28 kB / 0.5882 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.5686, allocations: 6.103 MB / 0.5942 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.5688, allocations: 83.69 kB / 0.5943 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.5692, allocations: 195.1 kB / 0.5945 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.5803, allocations: 3.667 MB / 0.598 GB, free: 12.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.5803, allocations: 4 kB / 0.598 GB, free: 12.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5803, allocations: 0 / 0.598 GB, free: 12.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.5803, allocations: 0 / 0.598 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.003026/0.5834, allocations: 1.034 MB / 0.5991 GB, free: 11.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5834, allocations: 12.03 kB / 0.5991 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009865/0.5844, allocations: 124.6 kB / 0.5992 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.585, allocations: 342.8 kB / 0.5995 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.5851, allocations: 20.94 kB / 0.5995 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.5851, allocations: 32.3 kB / 0.5996 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5862, allocations: 454.9 kB / 0.6 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5863, allocations: 0 / 0.6 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.5863, allocations: 12 kB / 0.6 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5863, allocations: 8 kB / 0.6 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.5874, allocations: 373.3 kB / 0.6004 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.5906, allocations: 2.38 MB / 0.6027 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/0.5916, allocations: 270.3 kB / 0.603 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.5918, allocations: 100.8 kB / 0.6031 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.5923, allocations: 481.4 kB / 0.6035 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5924, allocations: 38.56 kB / 0.6035 GB, free: 6.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.5924, allocations: 0 / 0.6035 GB, free: 6.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001719/0.5941, allocations: 453.2 kB / 0.604 GB, free: 6.301 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.5942, allocations: 114.8 kB / 0.6041 GB, free: 6.164 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.5946, allocations: 320.5 kB / 0.6044 GB, free: 5.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.5946, allocations: 29.7 kB / 0.6044 GB, free: 5.805 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.5947, allocations: 215.9 kB / 0.6046 GB, free: 5.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.5948, allocations: 43.67 kB / 0.6047 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.5949, allocations: 53.66 kB / 0.6047 GB, free: 5.488 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.595, allocations: 338.8 kB / 0.605 GB, free: 5.148 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.5953, allocations: 87.92 kB / 0.6051 GB, free: 5.062 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.5956, allocations: 211.3 kB / 0.6053 GB, free: 4.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.5963, allocations: 273.5 kB / 0.6056 GB, free: 4.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5963, allocations: 0 / 0.6056 GB, free: 4.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007609/0.5971, allocations: 325.4 kB / 0.6059 GB, free: 4.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.5971, allocations: 14.19 kB / 0.6059 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.5971, allocations: 4 kB / 0.6059 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/0.5972, allocations: 4 kB / 0.6059 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.5974, allocations: 63.89 kB / 0.606 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.5974, allocations: 11.94 kB / 0.606 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.5977, allocations: 43.72 kB / 0.606 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.5978, allocations: 19.92 kB / 0.6061 GB, free: 4.004 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.0001983/0.598, allocations: 153.8 kB / 0.6062 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.5981, allocations: 35.8 kB / 0.6062 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.5994, allocations: 0.7382 MB / 0.607 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.5994, allocations: 7.984 kB / 0.607 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.5994, allocations: 7.938 kB / 0.607 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5994, allocations: 0 / 0.607 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.6001, allocations: 0.5299 MB / 0.6075 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.6001, allocations: 0 / 0.6075 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.6003, allocations: 43.89 kB / 0.6075 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6004, allocations: 4 kB / 0.6075 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.6004, allocations: 8 kB / 0.6075 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.6004, allocations: 3.938 kB / 0.6075 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6004, allocations: 3.938 kB / 0.6075 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007818/0.6012, allocations: 466 kB / 0.608 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.6013, allocations: 112.8 kB / 0.6081 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.6014, allocations: 31.73 kB / 0.6081 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.6016, allocations: 11.98 kB / 0.6081 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6017, allocations: 23.91 kB / 0.6082 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.6017, allocations: 4 kB / 0.6082 GB, free: 1.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004257/0.6022, allocations: 342.9 kB / 0.6085 GB, free: 1.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6022, allocations: 0 / 0.6085 GB, free: 1.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003935/0.6061, allocations: 0.8577 MB / 0.6093 GB, free: 0.5391 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.004365/0.6105, allocations: 1.009 MB / 0.6103 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008189/0.6113, allocations: 272.3 kB / 0.6106 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6113, allocations: 0 / 0.6106 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.6117, allocations: 163.9 kB / 0.6107 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/0.6126, allocations: 198.1 kB / 0.6109 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.6141, allocations: 0.8418 MB / 0.6117 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.6146, allocations: 0.8461 MB / 0.6126 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.615, allocations: 150.1 kB / 0.6127 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.6151, allocations: 31.42 kB / 0.6127 GB, free: 13 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6151, allocations: 0 / 0.6127 GB, free: 13 MB / 478.1 MB Notification: Performance of Templates: time 0.04675/0.6618, allocations: 33.83 MB / 0.6458 GB, free: 11.19 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches