Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001737/0.001737, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001431/0.001431, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.539/1.539, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.4206/0.4206, allocations: 46.88 MB / 358.1 MB, free: 10.52 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 75.88 kB / 0.4924 GB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1496, allocations: 65.99 MB / 0.5568 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0374/0.187, allocations: 30.37 MB / 0.5865 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3628/0.5498, allocations: 15.58 MB / 0.6017 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.5502, allocations: 12.25 kB / 0.6017 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007706/0.551, allocations: 216.4 kB / 0.6019 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006801/0.5516, allocations: 279.7 kB / 0.6022 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01963/0.5713, allocations: 5.651 MB / 0.6077 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.5732, allocations: 0.8136 MB / 0.6085 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.5738, allocations: 203 kB / 0.6087 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01689/0.5907, allocations: 5.506 MB / 0.614 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000684/0.5914, allocations: 237.7 kB / 0.6143 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.673e-05/0.5915, allocations: 29.5 kB / 0.6143 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/0.6061, allocations: 6.098 MB / 0.6202 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.6063, allocations: 95.52 kB / 0.6203 GB, free: 1.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.6067, allocations: 185.9 kB / 0.6205 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.6181, allocations: 3.68 MB / 0.6241 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6181, allocations: 0 / 0.6241 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6182, allocations: 0 / 0.6241 GB, free: 15.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.6182, allocations: 1.156 kB / 0.6241 GB, free: 15.89 MB / 462.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.003604/0.6218, allocations: 1.023 MB / 0.6251 GB, free: 15.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.6218, allocations: 10.06 kB / 0.6251 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.6228, allocations: 125.1 kB / 0.6252 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.6234, allocations: 347.8 kB / 0.6256 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.6235, allocations: 22.22 kB / 0.6256 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.6235, allocations: 24.5 kB / 0.6256 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.6247, allocations: 459.2 kB / 0.6261 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.6247, allocations: 4 kB / 0.6261 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.6247, allocations: 13.03 kB / 0.6261 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.6247, allocations: 7.906 kB / 0.6261 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.6258, allocations: 369.9 kB / 0.6264 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.6291, allocations: 2.376 MB / 0.6288 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.6301, allocations: 270.3 kB / 0.629 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.6304, allocations: 98.16 kB / 0.6291 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004885/0.6309, allocations: 479 kB / 0.6296 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.631, allocations: 35.94 kB / 0.6296 GB, free: 11.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.225e-06/0.631, allocations: 0 / 0.6296 GB, free: 11.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001807/0.6328, allocations: 449.6 kB / 0.63 GB, free: 10.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.6329, allocations: 109.1 kB / 0.6301 GB, free: 10.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.6332, allocations: 331.8 kB / 0.6304 GB, free: 10.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.6333, allocations: 27.27 kB / 0.6305 GB, free: 10.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.6334, allocations: 214.2 kB / 0.6307 GB, free: 10.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.6335, allocations: 45.3 kB / 0.6307 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.6336, allocations: 50.7 kB / 0.6308 GB, free: 10.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6338, allocations: 343.1 kB / 0.6311 GB, free: 10 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.634, allocations: 84.25 kB / 0.6312 GB, free: 9.961 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.6344, allocations: 206 kB / 0.6314 GB, free: 9.762 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/0.635, allocations: 279 kB / 0.6316 GB, free: 9.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.635, allocations: 1.375 kB / 0.6316 GB, free: 9.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007473/0.6358, allocations: 321.5 kB / 0.6319 GB, free: 9.363 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6358, allocations: 6.25 kB / 0.6319 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.6358, allocations: 6.938 kB / 0.632 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.6358, allocations: 4.688 kB / 0.632 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.6361, allocations: 62.39 kB / 0.632 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.6361, allocations: 13.72 kB / 0.632 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.6364, allocations: 51.36 kB / 0.6321 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.6364, allocations: 14.94 kB / 0.6321 GB, free: 9.301 MB / 462.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.0001781/0.6366, allocations: 159.7 kB / 0.6322 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.6366, allocations: 31.66 kB / 0.6323 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.6378, allocations: 0.7404 MB / 0.633 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.6378, allocations: 10.8 kB / 0.633 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6378, allocations: 3.938 kB / 0.633 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6378, allocations: 2.688 kB / 0.633 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.6384, allocations: 0.5333 MB / 0.6335 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6384, allocations: 2.469 kB / 0.6335 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.6386, allocations: 42.92 kB / 0.6336 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.6387, allocations: 2.5 kB / 0.6336 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.6387, allocations: 4 kB / 0.6336 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6387, allocations: 6.531 kB / 0.6336 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6387, allocations: 3.938 kB / 0.6336 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.6394, allocations: 458.1 kB / 0.634 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.6395, allocations: 128.3 kB / 0.6342 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.6396, allocations: 24.22 kB / 0.6342 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.6398, allocations: 13.98 kB / 0.6342 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.6399, allocations: 26.97 kB / 0.6342 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.6399, allocations: 5.281 kB / 0.6342 GB, free: 7.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.6403, allocations: 346.3 kB / 0.6346 GB, free: 7.531 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6403, allocations: 0 / 0.6346 GB, free: 7.531 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003767/0.644, allocations: 0.8476 MB / 0.6354 GB, free: 7.383 MB / 462.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.005035/0.6491, allocations: 1.008 MB / 0.6364 GB, free: 7.051 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008124/0.6499, allocations: 273 kB / 0.6366 GB, free: 6.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.6499, allocations: 0 / 0.6366 GB, free: 6.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.6502, allocations: 133.1 kB / 0.6368 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.6512, allocations: 185.6 kB / 0.6369 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.6527, allocations: 0.8843 MB / 0.6378 GB, free: 6.195 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.6532, allocations: 0.8457 MB / 0.6386 GB, free: 5.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.6533, allocations: 30.19 kB / 0.6386 GB, free: 5.418 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6533, allocations: 0 / 0.6386 GB, free: 5.418 MB / 462.1 MB Notification: Performance of Templates: time 0.03459/0.6879, allocations: 19.96 MB / 0.6581 GB, free: 2.391 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 11.280114769004285]