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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001095, allocations: 105.5 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3597/0.3597, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3974, allocations: 62.01 MB / 0.5151 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02683/0.4243, allocations: 30.97 MB / 0.5454 GB, free: 16.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02583/0.4502, allocations: 16.48 MB / 0.5615 GB, free: 4.625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000704/0.4509, allocations: 14.31 kB / 0.5615 GB, free: 4.617 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.452, allocations: 186.9 kB / 0.5617 GB, free: 4.512 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.4532, allocations: 260.2 kB / 0.5619 GB, free: 4.355 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02748/0.4807, allocations: 4.517 MB / 0.5663 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.4829, allocations: 1.109 MB / 0.5674 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006338/0.4835, allocations: 189.2 kB / 0.5676 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02155/0.5051, allocations: 5.407 MB / 0.5729 GB, free: 13.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.5061, allocations: 246.7 kB / 0.5731 GB, free: 13.24 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.5063, allocations: 14.19 kB / 0.5731 GB, free: 13.24 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02093/0.5273, allocations: 6.022 MB / 0.579 GB, free: 8.027 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.5276, allocations: 67.75 kB / 0.5791 GB, free: 7.961 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006016/0.5282, allocations: 183.1 kB / 0.5792 GB, free: 7.781 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.5411, allocations: 3.657 MB / 0.5828 GB, free: 4.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.948e-06/0.5411, allocations: 0 / 0.5828 GB, free: 4.117 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5411, allocations: 0 / 0.5828 GB, free: 4.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.5412, allocations: 0 / 0.5828 GB, free: 4.117 MB / 394.7 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.003109/0.5443, allocations: 1.002 MB / 0.5838 GB, free: 3.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5443, allocations: 8.031 kB / 0.5838 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.5455, allocations: 120.5 kB / 0.5839 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.546, allocations: 322.6 kB / 0.5842 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.5461, allocations: 20.94 kB / 0.5842 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.5461, allocations: 28.31 kB / 0.5843 GB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.5474, allocations: 454.9 kB / 0.5847 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5474, allocations: 4 kB / 0.5847 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.5475, allocations: 15.98 kB / 0.5847 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.5475, allocations: 8 kB / 0.5847 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.5486, allocations: 369.2 kB / 0.5851 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.552, allocations: 2.379 MB / 0.5874 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.553, allocations: 278.3 kB / 0.5877 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.5533, allocations: 96.77 kB / 0.5878 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004158/0.5537, allocations: 497 kB / 0.5882 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.5538, allocations: 34.56 kB / 0.5883 GB, free: 14.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.954e-06/0.5538, allocations: 0 / 0.5883 GB, free: 14.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001683/0.5555, allocations: 449.2 kB / 0.5887 GB, free: 13.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.5556, allocations: 106.8 kB / 0.5888 GB, free: 13.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.5559, allocations: 328.3 kB / 0.5891 GB, free: 13.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.556, allocations: 29.7 kB / 0.5891 GB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.5561, allocations: 203.6 kB / 0.5893 GB, free: 12.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.5561, allocations: 39.45 kB / 0.5894 GB, free: 12.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.5562, allocations: 61.59 kB / 0.5894 GB, free: 12.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5564, allocations: 338.8 kB / 0.5898 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.5567, allocations: 87.92 kB / 0.5898 GB, free: 12.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.557, allocations: 203.3 kB / 0.59 GB, free: 12.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.5576, allocations: 284.2 kB / 0.5903 GB, free: 11.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.5576, allocations: 0 / 0.5903 GB, free: 11.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007761/0.5584, allocations: 320.9 kB / 0.5906 GB, free: 11.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5584, allocations: 10.81 kB / 0.5906 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5584, allocations: 4 kB / 0.5906 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.5585, allocations: 4 kB / 0.5906 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.5587, allocations: 59.89 kB / 0.5907 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.5587, allocations: 12.41 kB / 0.5907 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.559, allocations: 51.56 kB / 0.5908 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.5591, allocations: 16 kB / 0.5908 GB, free: 11.36 MB / 410.7 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.0001687/0.5592, allocations: 154.6 kB / 0.5909 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.5593, allocations: 27.7 kB / 0.5909 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.5604, allocations: 0.7482 MB / 0.5917 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.5605, allocations: 15.98 kB / 0.5917 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5605, allocations: 3.938 kB / 0.5917 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5605, allocations: 0 / 0.5917 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.5611, allocations: 0.5337 MB / 0.5922 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5611, allocations: 0 / 0.5922 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.5613, allocations: 39.95 kB / 0.5922 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5613, allocations: 0 / 0.5922 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.5614, allocations: 4 kB / 0.5923 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5614, allocations: 11.94 kB / 0.5923 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5614, allocations: 7.875 kB / 0.5923 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.563, allocations: 1.249 MB / 0.5935 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.5631, allocations: 128.4 kB / 0.5936 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.5632, allocations: 19.69 kB / 0.5936 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.5634, allocations: 19.98 kB / 0.5937 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.5635, allocations: 15.97 kB / 0.5937 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.5635, allocations: 12 kB / 0.5937 GB, free: 8.227 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003773/0.5639, allocations: 342.8 kB / 0.594 GB, free: 7.891 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5639, allocations: 0 / 0.594 GB, free: 7.891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003228/0.5672, allocations: 0.855 MB / 0.5948 GB, free: 7.035 MB / 410.7 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.00526/0.5724, allocations: 0.9979 MB / 0.5958 GB, free: 6.035 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008434/0.5733, allocations: 275.6 kB / 0.5961 GB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5733, allocations: 0 / 0.5961 GB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.5737, allocations: 168.8 kB / 0.5962 GB, free: 5.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.5749, allocations: 169 kB / 0.5964 GB, free: 5.445 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.5768, allocations: 1.256 MB / 0.5976 GB, free: 4.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.5773, allocations: 0.8502 MB / 0.5985 GB, free: 3.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004047/0.5777, allocations: 140.5 kB / 0.5986 GB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.5778, allocations: 35.42 kB / 0.5986 GB, free: 3.102 MB / 410.7 MB Notification: Performance of SimCode: time 2.675e-06/0.5778, allocations: 3.938 kB / 0.5986 GB, free: 3.098 MB / 410.7 MB Notification: Performance of Templates: time 0.0565/0.6343, allocations: 33.66 MB / 0.6315 GB, free: 1.48 MB / 442.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches