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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 86.48 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 159 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] 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=5010,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=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.043e-05, allocations: 6.281 kB / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2288/0.2289, allocations: 27.52 MB / 470.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.2485, allocations: 13.81 MB / 484 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.2489, allocations: 13.75 kB / 484 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.2496, allocations: 203.3 kB / 484.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007637/0.2504, allocations: 297.4 kB / 484.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0198/0.2702, allocations: 5.67 MB / 490.2 MB, free: 5.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.2716, allocations: 0.8231 MB / 491 MB, free: 4.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/0.272, allocations: 198.8 kB / 491.2 MB, free: 4.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.014/0.286, allocations: 5.61 MB / 496.8 MB, free: 36 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.2866, allocations: 207.4 kB / 497 MB, free: 15.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.2867, allocations: 28 kB / 497 MB, free: 15.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/0.2993, allocations: 5.853 MB / 0.4911 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.2995, allocations: 95.64 kB / 0.4912 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.2998, allocations: 131.8 kB / 0.4913 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.3109, allocations: 4.654 MB / 0.4958 GB, free: 5.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3109, allocations: 0 / 0.4958 GB, free: 5.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3109, allocations: 0 / 0.4958 GB, free: 5.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3109, allocations: 0 / 0.4958 GB, free: 5.059 MB / 398.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.002825/0.3137, allocations: 0.9469 MB / 0.4968 GB, free: 4.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3138, allocations: 12.03 kB / 0.4968 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.3148, allocations: 116.6 kB / 0.4969 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.3154, allocations: 284.5 kB / 0.4972 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.3155, allocations: 21.62 kB / 0.4972 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.3155, allocations: 28.38 kB / 0.4972 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.3169, allocations: 0.5869 MB / 0.4978 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3169, allocations: 4.375 kB / 0.4978 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.3169, allocations: 15.94 kB / 0.4978 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3169, allocations: 4 kB / 0.4978 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.3181, allocations: 373.5 kB / 0.4982 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.3211, allocations: 1.732 MB / 0.4999 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.3223, allocations: 273.5 kB / 0.5001 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.3226, allocations: 88.8 kB / 0.5002 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.3228, allocations: 99.91 kB / 0.5003 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3229, allocations: 30.56 kB / 0.5003 GB, free: 260 kB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.3229, allocations: 0 / 0.5003 GB, free: 260 kB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001885/0.3248, allocations: 449.4 kB / 0.5008 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.3248, allocations: 106.8 kB / 0.5009 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.3252, allocations: 284.1 kB / 0.5011 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.3252, allocations: 29.64 kB / 0.5012 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.3254, allocations: 212 kB / 0.5014 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.3254, allocations: 47.55 kB / 0.5014 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3255, allocations: 57.69 kB / 0.5015 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3257, allocations: 334.8 kB / 0.5018 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.326, allocations: 83.94 kB / 0.5019 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.3264, allocations: 256 kB / 0.5021 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.3271, allocations: 277.4 kB / 0.5024 GB, free: 13.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3271, allocations: 0 / 0.5024 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008084/0.3279, allocations: 325.3 kB / 0.5027 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3279, allocations: 8 kB / 0.5027 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3279, allocations: 4 kB / 0.5027 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.328, allocations: 4 kB / 0.5027 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.3282, allocations: 63.89 kB / 0.5028 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.3282, allocations: 15.86 kB / 0.5028 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3285, allocations: 39.77 kB / 0.5028 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3285, allocations: 12 kB / 0.5028 GB, free: 13.52 MB / 414.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.0001796/0.3287, allocations: 161.7 kB / 0.503 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.3288, allocations: 23.86 kB / 0.503 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.3301, allocations: 0.7795 MB / 0.5038 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.3301, allocations: 11.98 kB / 0.5038 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3301, allocations: 0 / 0.5038 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3301, allocations: 0 / 0.5038 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.3306, allocations: 438.6 kB / 0.5042 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3306, allocations: 0 / 0.5042 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.3309, allocations: 51.89 kB / 0.5042 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3309, allocations: 0 / 0.5042 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3309, allocations: 0 / 0.5042 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3309, allocations: 7.938 kB / 0.5042 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3309, allocations: 4 kB / 0.5042 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.3318, allocations: 471.4 kB / 0.5047 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.3319, allocations: 35.7 kB / 0.5047 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.3319, allocations: 23.78 kB / 0.5048 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.3322, allocations: 19.97 kB / 0.5048 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.3322, allocations: 19.97 kB / 0.5048 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3323, allocations: 4 kB / 0.5048 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003899/0.3326, allocations: 307.1 kB / 0.5051 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3326, allocations: 0 / 0.5051 GB, free: 11.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00369/0.3363, allocations: 0.8577 MB / 0.5059 GB, free: 10.27 MB / 414.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.00407/0.3404, allocations: 1.107 MB / 0.507 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007845/0.3412, allocations: 267.7 kB / 0.5073 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3412, allocations: 0 / 0.5073 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.3415, allocations: 148.7 kB / 0.5074 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.3424, allocations: 140.8 kB / 0.5075 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3437, allocations: 0.8222 MB / 0.5083 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3441, allocations: 235.9 kB / 0.5086 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.3445, allocations: 145.3 kB / 0.5087 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3446, allocations: 32.5 kB / 0.5087 GB, free: 7.34 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3446, allocations: 0 / 0.5087 GB, free: 7.34 MB / 414.1 MB Notification: Performance of Templates: time 0.04979/0.3944, allocations: 33.12 MB / 0.5411 GB, free: 6.293 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.318558607250452]