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.001878/0.001878, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.00236/0.00236, allocations: 217 kB / 24.5 MB, free: 4.133 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.343/1.343, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.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.2181/0.2181, allocations: 46.93 MB / 361.5 MB, free: 4.199 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 0.002136/0.002136, allocations: 83.88 kB / 0.4974 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2915, allocations: 66.08 MB / 0.562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03491/0.3264, allocations: 30.62 MB / 0.5918 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01969/0.3461, allocations: 15.68 MB / 0.6072 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003763/0.3465, allocations: 19.81 kB / 0.6072 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.3472, allocations: 218.6 kB / 0.6074 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006447/0.3479, allocations: 274.4 kB / 0.6077 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01486/0.3627, allocations: 5.653 MB / 0.6132 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.3639, allocations: 0.842 MB / 0.614 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.3643, allocations: 193 kB / 0.6142 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.3754, allocations: 5.513 MB / 0.6196 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.3759, allocations: 243 kB / 0.6198 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.3759, allocations: 28 kB / 0.6198 GB, free: 8.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.3874, allocations: 6.107 MB / 0.6258 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.3876, allocations: 87.67 kB / 0.6259 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.3879, allocations: 195.1 kB / 0.6261 GB, free: 2.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007872/0.3958, allocations: 3.679 MB / 0.6296 GB, free: 14.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3958, allocations: 0 / 0.6296 GB, free: 14.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3958, allocations: 3.938 kB / 0.6297 GB, free: 14.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3958, allocations: 0 / 0.6297 GB, free: 14.67 MB / 478.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.002173/0.398, allocations: 0.9509 MB / 0.6306 GB, free: 13.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.398, allocations: 8.031 kB / 0.6306 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.3989, allocations: 120.6 kB / 0.6307 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.3995, allocations: 292.8 kB / 0.631 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.3995, allocations: 20.88 kB / 0.631 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.3995, allocations: 24.38 kB / 0.631 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.4006, allocations: 450.1 kB / 0.6315 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4006, allocations: 3.938 kB / 0.6315 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.4007, allocations: 12 kB / 0.6315 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.4007, allocations: 8 kB / 0.6315 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.4017, allocations: 377.3 kB / 0.6318 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.4047, allocations: 2.198 MB / 0.634 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009683/0.4057, allocations: 262.3 kB / 0.6342 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.4059, allocations: 92.94 kB / 0.6343 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.4062, allocations: 103.9 kB / 0.6344 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.4062, allocations: 38.56 kB / 0.6345 GB, free: 9.453 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.4062, allocations: 0 / 0.6345 GB, free: 9.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001617/0.4079, allocations: 453 kB / 0.6349 GB, free: 9.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.4079, allocations: 106.8 kB / 0.635 GB, free: 8.875 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.4083, allocations: 324.4 kB / 0.6353 GB, free: 8.547 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.4083, allocations: 29.7 kB / 0.6353 GB, free: 8.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.4085, allocations: 215.9 kB / 0.6355 GB, free: 8.297 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.4085, allocations: 47.69 kB / 0.6356 GB, free: 8.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.4086, allocations: 53.66 kB / 0.6356 GB, free: 8.191 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4088, allocations: 342.8 kB / 0.636 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.409, allocations: 79.94 kB / 0.636 GB, free: 7.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.4094, allocations: 207.3 kB / 0.6362 GB, free: 7.512 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.41, allocations: 277.9 kB / 0.6365 GB, free: 7.191 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.41, allocations: 4 kB / 0.6365 GB, free: 7.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000725/0.4107, allocations: 328.9 kB / 0.6368 GB, free: 6.859 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4107, allocations: 6.188 kB / 0.6368 GB, free: 6.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4107, allocations: 4 kB / 0.6368 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4107, allocations: 4 kB / 0.6368 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.411, allocations: 68.36 kB / 0.6369 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.411, allocations: 7.938 kB / 0.6369 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.4112, allocations: 47.7 kB / 0.6369 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.4112, allocations: 16 kB / 0.637 GB, free: 6.711 MB / 478.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.0001642/0.4114, allocations: 163 kB / 0.6371 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.4115, allocations: 27.81 kB / 0.6371 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.4126, allocations: 0.7606 MB / 0.6379 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.4126, allocations: 7.984 kB / 0.6379 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4126, allocations: 3.938 kB / 0.6379 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4126, allocations: 0 / 0.6379 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.4132, allocations: 0.5135 MB / 0.6384 GB, free: 5.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4132, allocations: 4 kB / 0.6384 GB, free: 5.176 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.4134, allocations: 39.95 kB / 0.6384 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.4134, allocations: 4 kB / 0.6384 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4134, allocations: 4 kB / 0.6385 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4134, allocations: 3.984 kB / 0.6385 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4134, allocations: 3.938 kB / 0.6385 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007334/0.4142, allocations: 478.9 kB / 0.6389 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.4142, allocations: 43.62 kB / 0.639 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.4143, allocations: 23.8 kB / 0.639 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4145, allocations: 15.98 kB / 0.639 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.4145, allocations: 27.84 kB / 0.639 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4146, allocations: 7.984 kB / 0.639 GB, free: 4.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003879/0.4149, allocations: 346.9 kB / 0.6394 GB, free: 4.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4149, allocations: 0 / 0.6394 GB, free: 4.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002312/0.4173, allocations: 0.8538 MB / 0.6402 GB, free: 3.324 MB / 478.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.00309/0.4203, allocations: 0.9796 MB / 0.6412 GB, free: 2.336 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006986/0.421, allocations: 275.6 kB / 0.6414 GB, free: 2.066 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.421, allocations: 0 / 0.6414 GB, free: 2.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.4213, allocations: 140.8 kB / 0.6415 GB, free: 1.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/0.4222, allocations: 177.7 kB / 0.6417 GB, free: 1.766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4236, allocations: 0.8876 MB / 0.6426 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.4241, allocations: 0.8422 MB / 0.6434 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/0.4242, allocations: 39.44 kB / 0.6434 GB, free: 15.93 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4242, allocations: 0 / 0.6434 GB, free: 15.93 MB / 494.1 MB Notification: Performance of Templates: time 0.02937/0.4535, allocations: 19.94 MB / 0.6629 GB, free: 11.99 MB / 0.4981 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/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: 9.181965719209984]