Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001399/0.001399, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001523/0.001523, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.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.2249/0.2249, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] 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.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.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 71.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3561, allocations: 65.47 MB / 0.5582 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.218/0.5742, allocations: 161.7 MB / 0.7161 GB, free: 5.199 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007472/0.5816, allocations: 3.034 MB / 0.7191 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008479/0.5825, allocations: 19.81 kB / 0.7191 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.5837, allocations: 317.9 kB / 0.7194 GB, free: 1.824 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.5884, allocations: 1.437 MB / 0.7208 GB, free: 400 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.5907, allocations: 0.7278 MB / 0.7215 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.5932, allocations: 1.579 MB / 0.7231 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.594, allocations: 375.7 kB / 0.7234 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.5953, allocations: 0.6033 MB / 0.724 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009584/0.5962, allocations: 462 kB / 0.7245 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.5964, allocations: 52 kB / 0.7245 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.5989, allocations: 0.9049 MB / 0.7254 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003096/0.5992, allocations: 167.4 kB / 0.7255 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006328/0.5998, allocations: 290.8 kB / 0.7258 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.6029, allocations: 1.452 MB / 0.7272 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6029, allocations: 0 / 0.7272 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6029, allocations: 0 / 0.7272 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.842e-05/0.6029, allocations: 0 / 0.7272 GB, free: 9.785 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002518/0.6054, allocations: 1.006 MB / 0.7282 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.6055, allocations: 12.03 kB / 0.7282 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.6066, allocations: 139.5 kB / 0.7284 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.6077, allocations: 437.6 kB / 0.7288 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.6078, allocations: 36.88 kB / 0.7288 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.6078, allocations: 40 kB / 0.7289 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.6093, allocations: 0.8996 MB / 0.7297 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.6093, allocations: 0 / 0.7297 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/0.6093, allocations: 16 kB / 0.7298 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.6094, allocations: 12 kB / 0.7298 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.6104, allocations: 483.6 kB / 0.7302 GB, free: 6.559 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.6135, allocations: 1.892 MB / 0.7321 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.6143, allocations: 327.5 kB / 0.7324 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.6146, allocations: 153.3 kB / 0.7325 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.6148, allocations: 52.23 kB / 0.7326 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.6149, allocations: 42.84 kB / 0.7326 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.6149, allocations: 0 / 0.7326 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001795/0.6167, allocations: 0.6476 MB / 0.7333 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.6168, allocations: 136.5 kB / 0.7334 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.6173, allocations: 429.9 kB / 0.7338 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.6174, allocations: 37.7 kB / 0.7338 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.6176, allocations: 292.4 kB / 0.7341 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.6178, allocations: 126.9 kB / 0.7342 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.6179, allocations: 102.1 kB / 0.7343 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6181, allocations: 354.7 kB / 0.7347 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.6185, allocations: 152.8 kB / 0.7348 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.619, allocations: 368.7 kB / 0.7352 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.6197, allocations: 441.6 kB / 0.7356 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.6197, allocations: 0 / 0.7356 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001121/0.6209, allocations: 0.5371 MB / 0.7361 GB, free: 248 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.6209, allocations: 14.75 kB / 0.7361 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6209, allocations: 4 kB / 0.7361 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3093/0.9302, allocations: 241.3 kB / 0.7364 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.9308, allocations: 105.4 kB / 0.7365 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005453/0.9313, allocations: 0.5969 MB / 0.737 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.9318, allocations: 37.27 kB / 0.7371 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.9319, allocations: 45.08 kB / 0.7371 GB, free: 178.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003746/0.9323, allocations: 189 kB / 0.7373 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.9325, allocations: 50.03 kB / 0.7374 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.9349, allocations: 1.097 MB / 0.7384 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.9349, allocations: 4.781 kB / 0.7384 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.935, allocations: 0.5938 kB / 0.7384 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.935, allocations: 2.109 kB / 0.7384 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.9368, allocations: 0.8783 MB / 0.7393 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9368, allocations: 0.9375 kB / 0.7393 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.937, allocations: 52.73 kB / 0.7393 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003065/0.94, allocations: 446.7 kB / 0.7398 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.9401, allocations: 15.78 kB / 0.7398 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003405/0.9404, allocations: 0.602 MB / 0.7404 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.9404, allocations: 4.562 kB / 0.7404 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/0.9412, allocations: 0.5074 MB / 0.7409 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.9413, allocations: 45.44 kB / 0.7409 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.9414, allocations: 14.69 kB / 0.7409 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.9417, allocations: 19.08 kB / 0.7409 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.9418, allocations: 26.39 kB / 0.741 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.9418, allocations: 19.53 kB / 0.741 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003641/0.9421, allocations: 346.4 kB / 0.7413 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.9421, allocations: 0 / 0.7413 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008793/0.943, allocations: 295.8 kB / 0.7416 GB, free: 176.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008085/0.9438, allocations: 368.7 kB / 0.742 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008086/0.9446, allocations: 372.7 kB / 0.7423 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9446, allocations: 3.5 kB / 0.7423 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.945, allocations: 157.5 kB / 0.7425 GB, free: 176 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.9462, allocations: 274.1 kB / 0.7427 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.9476, allocations: 0.9309 MB / 0.7436 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.9477, allocations: 265.9 kB / 0.7439 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.9481, allocations: 115.6 kB / 0.744 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.9481, allocations: 0 / 0.744 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.0168/0.9649, allocations: 14.09 MB / 0.7577 GB, free: 160.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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: 10.934587582014501]