Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002311/0.002311, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 34.28 MB / 294.9 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.787e-05, allocations: 2.281 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2363/0.2364, allocations: 27.52 MB / 470.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.2547, allocations: 13.81 MB / 484 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.2552, allocations: 14.62 kB / 484 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.2561, allocations: 203.2 kB / 484.2 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008832/0.257, allocations: 289.5 kB / 484.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02232/0.2793, allocations: 5.667 MB / 490.2 MB, free: 5.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.2812, allocations: 0.8238 MB / 491 MB, free: 4.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006493/0.2818, allocations: 194.5 kB / 491.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01567/0.2975, allocations: 5.618 MB / 496.8 MB, free: 216 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005235/0.298, allocations: 207.4 kB / 497 MB, free: 8 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.2981, allocations: 28.05 kB / 497 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01331/0.3114, allocations: 5.853 MB / 0.4911 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.3116, allocations: 91.66 kB / 0.4912 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.3119, allocations: 143.7 kB / 0.4913 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.3223, allocations: 4.646 MB / 0.4959 GB, free: 5.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3223, allocations: 0 / 0.4959 GB, free: 5.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3223, allocations: 0 / 0.4959 GB, free: 5.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.3223, allocations: 4 kB / 0.4959 GB, free: 5.23 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.00262/0.3249, allocations: 0.9469 MB / 0.4968 GB, free: 4.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.325, allocations: 8.031 kB / 0.4968 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.326, allocations: 120.6 kB / 0.4969 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.3267, allocations: 276.6 kB / 0.4972 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.3267, allocations: 28.88 kB / 0.4972 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.3268, allocations: 24.38 kB / 0.4972 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.3281, allocations: 0.5908 MB / 0.4978 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3281, allocations: 384 / 0.4978 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.3281, allocations: 22.45 kB / 0.4978 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.3281, allocations: 11.94 kB / 0.4978 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.3293, allocations: 361.5 kB / 0.4982 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.3323, allocations: 1.732 MB / 0.4999 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3334, allocations: 266.3 kB / 0.5001 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.3337, allocations: 85.67 kB / 0.5002 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.334, allocations: 99.91 kB / 0.5003 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.334, allocations: 42.5 kB / 0.5003 GB, free: 432 kB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.334, allocations: 0 / 0.5003 GB, free: 432 kB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001844/0.3358, allocations: 441.4 kB / 0.5008 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.3359, allocations: 114.8 kB / 0.5009 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.3362, allocations: 276.1 kB / 0.5011 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3362, allocations: 29.7 kB / 0.5012 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.3364, allocations: 212 kB / 0.5014 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.522e-05/0.3365, allocations: 47.64 kB / 0.5014 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.3366, allocations: 53.69 kB / 0.5015 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3367, allocations: 338.8 kB / 0.5018 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.337, allocations: 83.94 kB / 0.5019 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.3374, allocations: 262.7 kB / 0.5021 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.3381, allocations: 277.4 kB / 0.5024 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3381, allocations: 4 kB / 0.5024 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008198/0.3389, allocations: 317.6 kB / 0.5027 GB, free: 13.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3389, allocations: 8 kB / 0.5027 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3389, allocations: 7.312 kB / 0.5027 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3389, allocations: 4 kB / 0.5027 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.3392, allocations: 67.89 kB / 0.5028 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3392, allocations: 11.92 kB / 0.5028 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.3395, allocations: 39.95 kB / 0.5028 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.3395, allocations: 20 kB / 0.5028 GB, free: 13.68 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.0001703/0.3397, allocations: 154.3 kB / 0.503 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.3397, allocations: 23.86 kB / 0.503 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.341, allocations: 0.7834 MB / 0.5038 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.341, allocations: 7.984 kB / 0.5038 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.341, allocations: 0 / 0.5038 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.341, allocations: 0 / 0.5038 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.3416, allocations: 450.6 kB / 0.5042 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3416, allocations: 0 / 0.5042 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.3418, allocations: 39.95 kB / 0.5043 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3418, allocations: 0 / 0.5043 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3418, allocations: 8 kB / 0.5043 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3418, allocations: 4 kB / 0.5043 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3418, allocations: 0 / 0.5043 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008259/0.3426, allocations: 468 kB / 0.5047 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.3427, allocations: 35.7 kB / 0.5047 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.3428, allocations: 19.78 kB / 0.5048 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.343, allocations: 27.97 kB / 0.5048 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.3431, allocations: 19.95 kB / 0.5048 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3431, allocations: 7.375 kB / 0.5048 GB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003571/0.3434, allocations: 303.1 kB / 0.5051 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3434, allocations: 0 / 0.5051 GB, free: 11.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00249/0.3459, allocations: 0.8616 MB / 0.5059 GB, free: 10.43 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.004509/0.3504, allocations: 1.092 MB / 0.507 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007748/0.3512, allocations: 275.6 kB / 0.5073 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3512, allocations: 0 / 0.5073 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.3515, allocations: 144.8 kB / 0.5074 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008686/0.3524, allocations: 150 kB / 0.5076 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.3539, allocations: 0.8183 MB / 0.5084 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3542, allocations: 243.9 kB / 0.5086 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003281/0.3545, allocations: 137.9 kB / 0.5087 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.703e-05/0.3546, allocations: 32.5 kB / 0.5088 GB, free: 7.504 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3546, allocations: 0 / 0.5088 GB, free: 7.504 MB / 414.1 MB Notification: Performance of Templates: time 0.05863/0.4132, allocations: 33.13 MB / 0.5411 GB, free: 6.473 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.407436862587929]