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.001078/0.001079, allocations: 200 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 226.5 MB / 245.4 MB, free: 8.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007968/0.0007967, allocations: 107.5 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4863/0.4863, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002987, allocations: 11.98 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4765, allocations: 62.96 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.839/8.316, allocations: 2.76 GB / 3.279 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003858/8.316, allocations: 91.94 kB / 3.279 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.498/9.814, allocations: 285.2 MB / 3.557 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.265e-06/9.814, allocations: 0 / 3.557 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.017e-05/9.814, allocations: 6.875 kB / 3.557 GB, free: 92.84 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.005317/9.819, allocations: 1.25 MB / 3.559 GB, free: 92.21 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/9.819, allocations: 8.469 kB / 3.559 GB, free: 92.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/9.82, allocations: 133.1 kB / 3.559 GB, free: 92.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/9.821, allocations: 335.2 kB / 3.559 GB, free: 91.97 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/9.821, allocations: 24.72 kB / 3.559 GB, free: 91.97 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/9.821, allocations: 25.98 kB / 3.559 GB, free: 91.97 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/9.822, allocations: 467.3 kB / 3.559 GB, free: 91.85 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/9.822, allocations: 10.28 kB / 3.56 GB, free: 91.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/9.822, allocations: 14.22 kB / 3.56 GB, free: 91.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/9.822, allocations: 7.312 kB / 3.56 GB, free: 91.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/9.823, allocations: 395.6 kB / 3.56 GB, free: 91.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/9.826, allocations: 2.353 MB / 3.562 GB, free: 90.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/9.827, allocations: 289.2 kB / 3.562 GB, free: 90.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/9.827, allocations: 87.95 kB / 3.563 GB, free: 90.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/9.828, allocations: 480.8 kB / 3.563 GB, free: 89.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/9.828, allocations: 40.88 kB / 3.563 GB, free: 89.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 1.903e-06/9.828, allocations: 0 / 3.563 GB, free: 89.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12): time 0.001661/9.829, allocations: 467.8 kB / 3.564 GB, free: 89.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/9.829, allocations: 104.2 kB / 3.564 GB, free: 89.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/9.83, allocations: 316.3 kB / 3.564 GB, free: 89.26 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/9.83, allocations: 30.23 kB / 3.564 GB, free: 89.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/9.83, allocations: 208.3 kB / 3.564 GB, free: 89.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/9.83, allocations: 41.3 kB / 3.564 GB, free: 89.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/9.83, allocations: 9.969 kB / 3.564 GB, free: 89.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001086/9.83, allocations: 345.7 kB / 3.565 GB, free: 88.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/9.83, allocations: 83.2 kB / 3.565 GB, free: 88.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/9.831, allocations: 206.5 kB / 3.565 GB, free: 88.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/9.831, allocations: 276.7 kB / 3.565 GB, free: 88.51 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/9.831, allocations: 3.406 kB / 3.565 GB, free: 88.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006405/9.832, allocations: 323.9 kB / 3.565 GB, free: 88.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/9.832, allocations: 5.75 kB / 3.565 GB, free: 88.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/9.832, allocations: 7.766 kB / 3.565 GB, free: 88.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/9.832, allocations: 5.969 kB / 3.565 GB, free: 88.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/9.832, allocations: 71.38 kB / 3.565 GB, free: 88.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/9.832, allocations: 7.281 kB / 3.565 GB, free: 88.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/9.833, allocations: 53.73 kB / 3.566 GB, free: 88.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/9.833, allocations: 13.38 kB / 3.566 GB, free: 88.45 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.0001786/9.833, allocations: 154.1 kB / 3.566 GB, free: 88.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/9.833, allocations: 30.3 kB / 3.566 GB, free: 88.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/9.834, allocations: 0.7768 MB / 3.566 GB, free: 88.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/9.834, allocations: 6.672 kB / 3.566 GB, free: 88.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/9.834, allocations: 2.438 kB / 3.566 GB, free: 88.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/9.834, allocations: 6.656 kB / 3.566 GB, free: 88.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/9.835, allocations: 0.5207 MB / 3.567 GB, free: 88.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/9.835, allocations: 3.875 kB / 3.567 GB, free: 88.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/9.835, allocations: 52.55 kB / 3.567 GB, free: 88.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/9.835, allocations: 0 / 3.567 GB, free: 88.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/9.835, allocations: 7.031 kB / 3.567 GB, free: 88.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/9.835, allocations: 0 / 3.567 GB, free: 88.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/9.835, allocations: 0 / 3.567 GB, free: 88.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/9.836, allocations: 479.6 kB / 3.567 GB, free: 87.83 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/9.836, allocations: 186 kB / 3.568 GB, free: 87.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/9.836, allocations: 5.969 kB / 3.568 GB, free: 87.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/9.836, allocations: 25.89 kB / 3.568 GB, free: 87.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/9.836, allocations: 17.42 kB / 3.568 GB, free: 87.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/9.836, allocations: 11 kB / 3.568 GB, free: 87.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003607/9.837, allocations: 337.2 kB / 3.568 GB, free: 87.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/9.837, allocations: 0 / 3.568 GB, free: 87.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005593/9.842, allocations: 0.8824 MB / 3.569 GB, free: 87.51 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.005654/9.848, allocations: 1.296 MB / 3.57 GB, free: 87.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007952/9.849, allocations: 273.1 kB / 3.57 GB, free: 87.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/9.849, allocations: 0 / 3.57 GB, free: 87.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/9.849, allocations: 171.1 kB / 3.571 GB, free: 87.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/9.85, allocations: 169.8 kB / 3.571 GB, free: 87.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/9.851, allocations: 1.034 MB / 3.572 GB, free: 86.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/9.852, allocations: 0.8353 MB / 3.573 GB, free: 86.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003/9.852, allocations: 128.3 kB / 3.573 GB, free: 86.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/9.852, allocations: 38.41 kB / 3.573 GB, free: 86.01 MB / 0.5417 GB Notification: Performance of SimCode: time 1.853e-06/9.852, allocations: 0 / 3.573 GB, free: 86.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.03963/9.892, allocations: 29.91 MB / 3.602 GB, free: 85.47 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/jenkins1/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