Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 119.6 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 190 kB / 21.39 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 247.1 MB, free: 4.098 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2674/0.2674, allocations: 44.24 MB / 343.5 MB, free: 7.562 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 68.12 kB / 479.3 MB, free: 24.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1641, allocations: 60.83 MB / 0.5275 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03787/0.202, allocations: 30.03 MB / 0.5568 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02139/0.2235, allocations: 15.51 MB / 0.5719 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.224, allocations: 11.94 kB / 0.572 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000796/0.2248, allocations: 218.5 kB / 0.5722 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007121/0.2255, allocations: 278.4 kB / 0.5724 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01855/0.2441, allocations: 5.62 MB / 0.5779 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.2456, allocations: 0.8109 MB / 0.5787 GB, free: 8.559 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.2461, allocations: 232.7 kB / 0.5789 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.2596, allocations: 5.462 MB / 0.5843 GB, free: 2.789 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.2602, allocations: 239 kB / 0.5845 GB, free: 2.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.2603, allocations: 28 kB / 0.5845 GB, free: 2.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4056/0.6658, allocations: 6.072 MB / 0.5905 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.6661, allocations: 86.8 kB / 0.5905 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.6666, allocations: 187.4 kB / 0.5907 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.6809, allocations: 3.66 MB / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.6809, allocations: 0 / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6809, allocations: 4.531 kB / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.6809, allocations: 1.219 kB / 0.5943 GB, free: 13.43 MB / 446.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.005383/0.6863, allocations: 1.015 MB / 0.5953 GB, free: 12.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.6864, allocations: 9.469 kB / 0.5953 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.6874, allocations: 116.2 kB / 0.5954 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.688, allocations: 343.2 kB / 0.5957 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.6881, allocations: 23.72 kB / 0.5958 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.6881, allocations: 25.58 kB / 0.5958 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6893, allocations: 452.9 kB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.6893, allocations: 4.656 kB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.6894, allocations: 20.59 kB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.6894, allocations: 6.219 kB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.6905, allocations: 367.1 kB / 0.5966 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.6934, allocations: 2.384 MB / 0.5989 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.6945, allocations: 271.7 kB / 0.5992 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.6948, allocations: 97.97 kB / 0.5993 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/0.6952, allocations: 482 kB / 0.5997 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.6953, allocations: 38.48 kB / 0.5998 GB, free: 10.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.6953, allocations: 0.5 kB / 0.5998 GB, free: 10.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001872/0.6971, allocations: 452.4 kB / 0.6002 GB, free: 10.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.6972, allocations: 106 kB / 0.6003 GB, free: 9.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.6976, allocations: 324.2 kB / 0.6006 GB, free: 9.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.6976, allocations: 28.72 kB / 0.6006 GB, free: 9.777 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.6978, allocations: 209.9 kB / 0.6008 GB, free: 9.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.6978, allocations: 44.34 kB / 0.6009 GB, free: 9.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.6979, allocations: 58.59 kB / 0.6009 GB, free: 9.605 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.698, allocations: 339.2 kB / 0.6013 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.6982, allocations: 87.59 kB / 0.6013 GB, free: 9.293 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.6986, allocations: 205.9 kB / 0.6015 GB, free: 9.148 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.6991, allocations: 285.8 kB / 0.6018 GB, free: 9.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6991, allocations: 0.9375 kB / 0.6018 GB, free: 9.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007215/0.6999, allocations: 323.8 kB / 0.6021 GB, free: 8.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.6999, allocations: 7.281 kB / 0.6021 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6999, allocations: 6.047 kB / 0.6021 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.6999, allocations: 5.688 kB / 0.6021 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.7002, allocations: 62.41 kB / 0.6022 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.7002, allocations: 15.81 kB / 0.6022 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.7005, allocations: 43.95 kB / 0.6023 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.7005, allocations: 15.44 kB / 0.6023 GB, free: 8.934 MB / 446.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.0001439/0.7007, allocations: 154.6 kB / 0.6024 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.7008, allocations: 30.12 kB / 0.6024 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.7018, allocations: 0.7463 MB / 0.6032 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.7019, allocations: 10.05 kB / 0.6032 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.7019, allocations: 5.125 kB / 0.6032 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7019, allocations: 0 / 0.6032 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.7025, allocations: 0.5269 MB / 0.6037 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7025, allocations: 0 / 0.6037 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.7027, allocations: 45.72 kB / 0.6038 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7027, allocations: 8.938 kB / 0.6038 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.7027, allocations: 5.656 kB / 0.6038 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.7027, allocations: 0 / 0.6038 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7027, allocations: 8.688 kB / 0.6038 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.7035, allocations: 465.5 kB / 0.6042 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.7035, allocations: 124.6 kB / 0.6043 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.7036, allocations: 24.97 kB / 0.6044 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.7038, allocations: 14.89 kB / 0.6044 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.7039, allocations: 22.14 kB / 0.6044 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.7039, allocations: 7.125 kB / 0.6044 GB, free: 8.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003655/0.7043, allocations: 340.6 kB / 0.6047 GB, free: 8.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7043, allocations: 0 / 0.6047 GB, free: 8.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005357/0.7097, allocations: 0.8497 MB / 0.6056 GB, free: 7.938 MB / 446.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.00869/0.7184, allocations: 0.9946 MB / 0.6065 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009945/0.7194, allocations: 274 kB / 0.6068 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.7194, allocations: 1.406 kB / 0.6068 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.7198, allocations: 162.6 kB / 0.6069 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.7209, allocations: 190.6 kB / 0.6071 GB, free: 7.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.7223, allocations: 0.8568 MB / 0.608 GB, free: 7.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.7226, allocations: 0.8356 MB / 0.6088 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000325/0.7229, allocations: 145.8 kB / 0.6089 GB, free: 6.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.723, allocations: 33.41 kB / 0.609 GB, free: 6.605 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.723, allocations: 0 / 0.609 GB, free: 6.605 MB / 446.1 MB Notification: Performance of Templates: time 0.05053/0.7736, allocations: 33.83 MB / 0.642 GB, free: 2.684 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.956694810651243]