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.001153/0.001153, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008489/0.0008488, allocations: 94.7 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1899/0.1899, allocations: 45.16 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.634e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.761/6.877, allocations: 2.759 GB / 3.264 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/6.877, allocations: 84.25 kB / 3.264 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9217/7.799, allocations: 291.5 MB / 3.549 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.684e-06/7.799, allocations: 0 / 3.549 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.388e-05/7.799, allocations: 8 kB / 3.549 GB, free: 87.29 MB / 0.5261 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.005234/7.804, allocations: 1.212 MB / 3.55 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/7.804, allocations: 8.031 kB / 3.55 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/7.805, allocations: 136.5 kB / 3.55 GB, free: 86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/7.806, allocations: 323.6 kB / 3.55 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/7.806, allocations: 12 kB / 3.55 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/7.806, allocations: 15.42 kB / 3.55 GB, free: 85.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000404/7.807, allocations: 207.9 kB / 3.55 GB, free: 85.47 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/7.807, allocations: 312 kB / 3.551 GB, free: 85.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/7.807, allocations: 3.938 kB / 3.551 GB, free: 85.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/7.807, allocations: 7.953 kB / 3.551 GB, free: 85.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/7.807, allocations: 4 kB / 3.551 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/7.81, allocations: 2.303 MB / 3.553 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/7.81, allocations: 118.5 kB / 3.553 GB, free: 82.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.525e-05/7.81, allocations: 60.69 kB / 3.553 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/7.811, allocations: 483 kB / 3.554 GB, free: 82.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/7.811, allocations: 38.56 kB / 3.554 GB, free: 82.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/7.811, allocations: 0 / 3.554 GB, free: 82.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0008532/7.812, allocations: 250.9 kB / 3.554 GB, free: 81.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/7.812, allocations: 102.8 kB / 3.554 GB, free: 81.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/7.812, allocations: 225.4 kB / 3.554 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/7.812, allocations: 25.7 kB / 3.554 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/7.812, allocations: 218.8 kB / 3.554 GB, free: 81.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/7.812, allocations: 39.17 kB / 3.555 GB, free: 81.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/7.812, allocations: 0 / 3.555 GB, free: 81.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/7.812, allocations: 334.5 kB / 3.555 GB, free: 80.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/7.812, allocations: 42.86 kB / 3.555 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/7.813, allocations: 160.4 kB / 3.555 GB, free: 80.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/7.813, allocations: 79.31 kB / 3.555 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/7.813, allocations: 0 / 3.555 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004215/7.813, allocations: 232.4 kB / 3.555 GB, free: 80.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/7.813, allocations: 7.094 kB / 3.555 GB, free: 80.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/7.813, allocations: 7.953 kB / 3.555 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/7.813, allocations: 8.469 kB / 3.555 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/7.814, allocations: 69.45 kB / 3.555 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/7.814, allocations: 11.52 kB / 3.555 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/7.814, allocations: 35.22 kB / 3.555 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/7.814, allocations: 26.89 kB / 3.555 GB, free: 80.3 MB / 0.5261 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 () * 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 7.908e-05/7.814, allocations: 112.9 kB / 3.556 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/7.814, allocations: 23.72 kB / 3.556 GB, free: 80.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006833/7.815, allocations: 0.6909 MB / 3.556 GB, free: 79.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/7.815, allocations: 11 kB / 3.556 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/7.815, allocations: 0 / 3.556 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/7.815, allocations: 1.359 kB / 3.556 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/7.815, allocations: 486.6 kB / 3.557 GB, free: 79.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/7.815, allocations: 0 / 3.557 GB, free: 79.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/7.815, allocations: 47.95 kB / 3.557 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/7.815, allocations: 4 kB / 3.557 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/7.815, allocations: 4 kB / 3.557 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/7.815, allocations: 3.938 kB / 3.557 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/7.815, allocations: 7.891 kB / 3.557 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/7.816, allocations: 393.7 kB / 3.557 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/7.816, allocations: 176.3 kB / 3.557 GB, free: 78.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/7.816, allocations: 3.984 kB / 3.557 GB, free: 78.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/7.816, allocations: 31.83 kB / 3.557 GB, free: 78.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/7.816, allocations: 23.92 kB / 3.557 GB, free: 78.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/7.816, allocations: 4 kB / 3.557 GB, free: 78.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002351/7.817, allocations: 279 kB / 3.558 GB, free: 78.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/7.817, allocations: 0 / 3.558 GB, free: 78.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004276/7.821, allocations: 0.8624 MB / 3.559 GB, free: 77.17 MB / 0.5261 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 () * 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.007087/7.828, allocations: 1.376 MB / 3.56 GB, free: 75.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003414/7.828, allocations: 175.8 kB / 3.56 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/7.828, allocations: 0 / 3.56 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/7.829, allocations: 134.7 kB / 3.56 GB, free: 75.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/7.829, allocations: 124.7 kB / 3.56 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/7.83, allocations: 0.5277 MB / 3.561 GB, free: 74.94 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/7.83, allocations: 0.8502 MB / 3.562 GB, free: 74.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000293/7.831, allocations: 129.7 kB / 3.562 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/7.831, allocations: 23.44 kB / 3.562 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/7.831, allocations: 4 kB / 3.562 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.03391/7.865, allocations: 23.96 MB / 3.585 GB, free: 50.05 MB / 0.5261 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