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.001461/0.001466, allocations: 120.8 kB / 18.45 MB, free: 4.594 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.001865/0.001865, allocations: 209 kB / 21.41 MB, free: 1.645 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.547/1.547, allocations: 227.4 MB / 251.6 MB, free: 276 kB / 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.2492/0.2492, allocations: 46.16 MB / 351.1 MB, free: 14.32 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.003756/0.003756, allocations: 77.5 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2115, allocations: 62.45 MB / 0.5397 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03772/0.2493, allocations: 30.19 MB / 0.5692 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02031/0.2697, allocations: 15.55 MB / 0.5843 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.2701, allocations: 7.938 kB / 0.5843 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008905/0.2711, allocations: 214.6 kB / 0.5846 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009624/0.2721, allocations: 270.4 kB / 0.5848 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02369/0.2958, allocations: 5.643 MB / 0.5903 GB, free: 256 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.2979, allocations: 0.8147 MB / 0.5911 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006578/0.2985, allocations: 228.8 kB / 0.5913 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01427/0.3128, allocations: 5.481 MB / 0.5967 GB, free: 9.645 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.3135, allocations: 231 kB / 0.5969 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.3135, allocations: 28 kB / 0.5969 GB, free: 9.391 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01364/0.3272, allocations: 6.096 MB / 0.6029 GB, free: 3.289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.3274, allocations: 91.67 kB / 0.603 GB, free: 3.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.3278, allocations: 183.1 kB / 0.6031 GB, free: 3.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4127/0.7405, allocations: 3.673 MB / 0.6067 GB, free: 17.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.7405, allocations: 0 / 0.6067 GB, free: 17.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7405, allocations: 1.094 kB / 0.6067 GB, free: 17.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.7406, allocations: 0.8438 kB / 0.6067 GB, free: 17.42 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.003377/0.7439, allocations: 1.026 MB / 0.6077 GB, free: 16.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.744, allocations: 10.36 kB / 0.6077 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.745, allocations: 122.6 kB / 0.6079 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.7456, allocations: 343.6 kB / 0.6082 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.7457, allocations: 22.5 kB / 0.6082 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.7457, allocations: 26.95 kB / 0.6082 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.7469, allocations: 459.8 kB / 0.6087 GB, free: 16.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.747, allocations: 3.281 kB / 0.6087 GB, free: 16.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.747, allocations: 10.66 kB / 0.6087 GB, free: 16.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.747, allocations: 8.188 kB / 0.6087 GB, free: 16.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.7482, allocations: 369.3 kB / 0.6091 GB, free: 16.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.751, allocations: 2.381 MB / 0.6114 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.7521, allocations: 278.8 kB / 0.6116 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.7524, allocations: 98.84 kB / 0.6117 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/0.7528, allocations: 484.1 kB / 0.6122 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.7528, allocations: 38.08 kB / 0.6122 GB, free: 14.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/0.7528, allocations: 0 / 0.6122 GB, free: 14.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001787/0.7546, allocations: 454.8 kB / 0.6127 GB, free: 14.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.7547, allocations: 106.5 kB / 0.6128 GB, free: 13.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.7551, allocations: 320.6 kB / 0.6131 GB, free: 13.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.7551, allocations: 32.17 kB / 0.6131 GB, free: 13.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.7553, allocations: 213.5 kB / 0.6133 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.7553, allocations: 50.98 kB / 0.6134 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.7554, allocations: 59.83 kB / 0.6134 GB, free: 13.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.7555, allocations: 339.1 kB / 0.6137 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.7558, allocations: 84.36 kB / 0.6138 GB, free: 13.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.7561, allocations: 200.8 kB / 0.614 GB, free: 13.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.7567, allocations: 278.3 kB / 0.6143 GB, free: 13.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.7567, allocations: 4.766 kB / 0.6143 GB, free: 13.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007427/0.7575, allocations: 314 kB / 0.6146 GB, free: 12.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.7575, allocations: 7.031 kB / 0.6146 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7575, allocations: 6.859 kB / 0.6146 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.7575, allocations: 5.531 kB / 0.6146 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.7578, allocations: 66.94 kB / 0.6147 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.7578, allocations: 10.11 kB / 0.6147 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.7581, allocations: 46.94 kB / 0.6147 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.7582, allocations: 19.39 kB / 0.6147 GB, free: 12.95 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.0001407/0.7583, allocations: 151.4 kB / 0.6149 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.7584, allocations: 34.75 kB / 0.6149 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.7596, allocations: 0.7411 MB / 0.6156 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.7596, allocations: 9.75 kB / 0.6156 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7596, allocations: 3.938 kB / 0.6156 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.7596, allocations: 1.469 kB / 0.6157 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.7603, allocations: 0.5243 MB / 0.6162 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7603, allocations: 0.5 kB / 0.6162 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.7605, allocations: 52.39 kB / 0.6162 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.7605, allocations: 1.625 kB / 0.6162 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.7605, allocations: 0.9062 kB / 0.6162 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.7606, allocations: 5.609 kB / 0.6162 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7606, allocations: 4.656 kB / 0.6162 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.7613, allocations: 464.2 kB / 0.6167 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.7614, allocations: 118.5 kB / 0.6168 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.7614, allocations: 29.58 kB / 0.6168 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.7617, allocations: 15.94 kB / 0.6168 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.7618, allocations: 21.17 kB / 0.6168 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.7618, allocations: 7.922 kB / 0.6169 GB, free: 12.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004141/0.7622, allocations: 346.3 kB / 0.6172 GB, free: 12.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7622, allocations: 2.734 kB / 0.6172 GB, free: 12.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003306/0.7655, allocations: 0.8519 MB / 0.618 GB, free: 11.95 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.004435/0.77, allocations: 0.9955 MB / 0.619 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009303/0.7709, allocations: 274.5 kB / 0.6193 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7709, allocations: 0 / 0.6193 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.7712, allocations: 167.4 kB / 0.6194 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.7723, allocations: 184.9 kB / 0.6196 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.7737, allocations: 0.8521 MB / 0.6204 GB, free: 11.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.774, allocations: 0.8419 MB / 0.6212 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003663/0.7744, allocations: 142.8 kB / 0.6214 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.7745, allocations: 31.38 kB / 0.6214 GB, free: 10.62 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7745, allocations: 0 / 0.6214 GB, free: 10.62 MB / 462.1 MB Notification: Performance of Templates: time 0.04557/0.8201, allocations: 33.87 MB / 0.6545 GB, free: 11.8 MB / 478.1 MB " [Timeout remaining time 659] 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.0.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: 8.357431780546904]