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.00152/0.00152, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009325/0.0009326, allocations: 96.48 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3798/0.3798, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 4 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4378, allocations: 63.24 MB / 0.5192 GB, free: 43.78 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.471/5.909, allocations: 2.76 GB / 3.279 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/5.909, allocations: 91.94 kB / 3.279 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.141/7.05, allocations: 295.6 MB / 3.568 GB, free: 87.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.653e-06/7.05, allocations: 1.094 kB / 3.568 GB, free: 87.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.566e-05/7.05, allocations: 7.031 kB / 3.568 GB, free: 87.16 MB / 0.5417 GB 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.005147/7.055, allocations: 1.253 MB / 3.569 GB, free: 86.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/7.055, allocations: 12 kB / 3.569 GB, free: 86.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/7.057, allocations: 134 kB / 3.57 GB, free: 86.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/7.057, allocations: 325.1 kB / 3.57 GB, free: 86.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/7.057, allocations: 26 kB / 3.57 GB, free: 86.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/7.057, allocations: 23.75 kB / 3.57 GB, free: 86.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/7.058, allocations: 460.7 kB / 3.57 GB, free: 86.13 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/7.058, allocations: 3.094 kB / 3.57 GB, free: 86.13 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/7.059, allocations: 14.69 kB / 3.57 GB, free: 86.13 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/7.059, allocations: 13.89 kB / 3.57 GB, free: 86.13 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/7.06, allocations: 391 kB / 3.571 GB, free: 86.13 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/7.062, allocations: 2.355 MB / 3.573 GB, free: 84.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/7.063, allocations: 287.5 kB / 3.573 GB, free: 84.35 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003461/7.064, allocations: 481.4 kB / 3.574 GB, free: 83.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/7.064, allocations: 38.28 kB / 3.574 GB, free: 83.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/7.064, allocations: 3.625 kB / 3.574 GB, free: 83.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12): time 0.001624/7.065, allocations: 464 kB / 3.574 GB, free: 83.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/7.065, allocations: 108.6 kB / 3.574 GB, free: 83.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/7.066, allocations: 286.6 kB / 3.575 GB, free: 83.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/7.066, allocations: 27.55 kB / 3.575 GB, free: 83.53 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/7.066, allocations: 210.5 kB / 3.575 GB, free: 83.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/7.066, allocations: 44.77 kB / 3.575 GB, free: 83.39 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/7.066, allocations: 3.688 kB / 3.575 GB, free: 83.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/7.066, allocations: 343.7 kB / 3.575 GB, free: 83.08 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/7.066, allocations: 86.06 kB / 3.575 GB, free: 83.08 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/7.067, allocations: 199.3 kB / 3.575 GB, free: 82.94 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/7.067, allocations: 111.2 kB / 3.576 GB, free: 82.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/7.067, allocations: 0 / 3.576 GB, free: 82.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006395/7.067, allocations: 317.9 kB / 3.576 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/7.067, allocations: 7.859 kB / 3.576 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/7.067, allocations: 7.812 kB / 3.576 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/7.067, allocations: 11.11 kB / 3.576 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/7.068, allocations: 66.75 kB / 3.576 GB, free: 82.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/7.068, allocations: 12.36 kB / 3.576 GB, free: 82.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/7.068, allocations: 54.86 kB / 3.576 GB, free: 82.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/7.068, allocations: 14.25 kB / 3.576 GB, free: 82.81 MB / 0.5417 GB 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_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 initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/7.068, allocations: 150.2 kB / 3.576 GB, free: 82.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/7.068, allocations: 35.06 kB / 3.576 GB, free: 82.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009114/7.069, allocations: 0.764 MB / 3.577 GB, free: 82.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/7.069, allocations: 10.66 kB / 3.577 GB, free: 82.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/7.069, allocations: 0 / 3.577 GB, free: 82.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/7.069, allocations: 0 / 3.577 GB, free: 82.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/7.07, allocations: 0.5246 MB / 3.578 GB, free: 81.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/7.07, allocations: 0 / 3.578 GB, free: 81.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/7.07, allocations: 60.95 kB / 3.578 GB, free: 81.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/7.07, allocations: 0 / 3.578 GB, free: 81.99 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/7.07, allocations: 7.672 kB / 3.578 GB, free: 81.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/7.07, allocations: 0 / 3.578 GB, free: 81.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/7.07, allocations: 0 / 3.578 GB, free: 81.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/7.071, allocations: 471.7 kB / 3.578 GB, free: 81.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/7.071, allocations: 186.3 kB / 3.578 GB, free: 81.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/7.071, allocations: 7.547 kB / 3.578 GB, free: 81.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/7.071, allocations: 29.8 kB / 3.578 GB, free: 81.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/7.071, allocations: 15.19 kB / 3.578 GB, free: 81.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/7.071, allocations: 13.91 kB / 3.578 GB, free: 81.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002901/7.071, allocations: 336.6 kB / 3.579 GB, free: 81.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/7.071, allocations: 0 / 3.579 GB, free: 81.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003948/7.075, allocations: 0.8828 MB / 3.579 GB, free: 81.21 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006703/7.082, allocations: 1.296 MB / 3.581 GB, free: 80.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006987/7.083, allocations: 269.2 kB / 3.581 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/7.083, allocations: 0 / 3.581 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/7.083, allocations: 167.7 kB / 3.581 GB, free: 80.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/7.084, allocations: 173.7 kB / 3.581 GB, free: 80.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/7.085, allocations: 1.033 MB / 3.582 GB, free: 80.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/7.086, allocations: 0.8551 MB / 3.583 GB, free: 79.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003231/7.086, allocations: 120.8 kB / 3.583 GB, free: 79.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/7.086, allocations: 28.22 kB / 3.583 GB, free: 79.46 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/7.086, allocations: 0 / 3.583 GB, free: 79.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.03945/7.125, allocations: 28.12 MB / 3.611 GB, free: 78.7 MB / 0.5417 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches