Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.00178/0.00178, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002225/0.002225, allocations: 219.7 kB / 23.73 MB, free: 4.16 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.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.22/0.22, allocations: 44.94 MB / 358.8 MB, free: 6.156 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) [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.002085/0.002085, allocations: 67.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3456, allocations: 65.48 MB / 0.557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.204/0.5496, allocations: 161.7 MB / 0.7149 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006423/0.556, allocations: 3.393 MB / 0.7182 GB, free: 1.828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006985/0.5567, allocations: 27.75 kB / 0.7182 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5578, allocations: 305.9 kB / 0.7185 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.5624, allocations: 1.756 MB / 0.7202 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.5644, allocations: 0.7319 MB / 0.721 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.5664, allocations: 1.532 MB / 0.7225 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005738/0.567, allocations: 359.8 kB / 0.7228 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009145/0.5679, allocations: 0.5995 MB / 0.7234 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.5685, allocations: 454 kB / 0.7238 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.886e-05/0.5686, allocations: 52 kB / 0.7239 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.5711, allocations: 1.135 MB / 0.725 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.5713, allocations: 167.3 kB / 0.7251 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.5716, allocations: 290.8 kB / 0.7254 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.574, allocations: 1.632 MB / 0.727 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.574, allocations: 0 / 0.727 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.574, allocations: 3.938 kB / 0.727 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.574, allocations: 0 / 0.727 GB, free: 8.797 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.001916/0.576, allocations: 1.037 MB / 0.728 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.576, allocations: 8.031 kB / 0.728 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.5761, allocations: 82.53 kB / 0.7281 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.5771, allocations: 147.5 kB / 0.7282 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/0.5779, allocations: 409.7 kB / 0.7286 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.578, allocations: 36.94 kB / 0.7287 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.578, allocations: 36 kB / 0.7287 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.5793, allocations: 0.8918 MB / 0.7296 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5793, allocations: 0 / 0.7296 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.5794, allocations: 20 kB / 0.7296 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.5794, allocations: 12 kB / 0.7296 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009842/0.5804, allocations: 479.6 kB / 0.7301 GB, free: 5.48 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.002938/0.5833, allocations: 1.954 MB / 0.732 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/0.5841, allocations: 319.5 kB / 0.7323 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.5845, allocations: 153.3 kB / 0.7324 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.5847, allocations: 52.23 kB / 0.7325 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.5847, allocations: 42.72 kB / 0.7325 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.5847, allocations: 4 kB / 0.7325 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0018/0.5865, allocations: 0.6359 MB / 0.7331 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.5866, allocations: 132.5 kB / 0.7333 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.5872, allocations: 473.9 kB / 0.7337 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.5873, allocations: 37.7 kB / 0.7338 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.5875, allocations: 280.2 kB / 0.734 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.5876, allocations: 123 kB / 0.7341 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.5878, allocations: 102.1 kB / 0.7342 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.588, allocations: 358.8 kB / 0.7346 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.5883, allocations: 156.7 kB / 0.7347 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.5888, allocations: 352.8 kB / 0.7351 GB, free: 116 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2512/0.84, allocations: 431.4 kB / 0.7355 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.84, allocations: 1.031 kB / 0.7355 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001328/0.8413, allocations: 0.5495 MB / 0.736 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.8414, allocations: 7.375 kB / 0.736 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.8414, allocations: 3.219 kB / 0.736 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.843, allocations: 242.6 kB / 0.7363 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.8434, allocations: 104.6 kB / 0.7364 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003708/0.8437, allocations: 0.5897 MB / 0.7369 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.8441, allocations: 49.44 kB / 0.737 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.957e-05/0.8442, allocations: 48.28 kB / 0.737 GB, free: 178 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.0002537/0.8444, allocations: 178.9 kB / 0.7372 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.8446, allocations: 60.73 kB / 0.7373 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.8464, allocations: 1.101 MB / 0.7383 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.8464, allocations: 3.875 kB / 0.7383 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8464, allocations: 0.6562 kB / 0.7383 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.8464, allocations: 1.453 kB / 0.7383 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.8475, allocations: 0.9167 MB / 0.7392 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8475, allocations: 0 / 0.7392 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.8477, allocations: 52.25 kB / 0.7393 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002888/0.8506, allocations: 438.2 kB / 0.7397 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.8506, allocations: 12.41 kB / 0.7397 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002829/0.8509, allocations: 0.6033 MB / 0.7403 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8509, allocations: 7.438 kB / 0.7403 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.8515, allocations: 0.4948 MB / 0.7408 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.8517, allocations: 65 kB / 0.7408 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/0.8517, allocations: 18.41 kB / 0.7409 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.8521, allocations: 19.69 kB / 0.7409 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.8521, allocations: 31.2 kB / 0.7409 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.8521, allocations: 13.28 kB / 0.7409 GB, free: 176 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003998/0.8525, allocations: 399 kB / 0.7413 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8525, allocations: 0 / 0.7413 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007539/0.8533, allocations: 349.5 kB / 0.7416 GB, free: 175.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.001429/0.8547, allocations: 1.374 MB / 0.743 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007057/0.8554, allocations: 358.3 kB / 0.7433 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8554, allocations: 0 / 0.7433 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.8557, allocations: 164.3 kB / 0.7435 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.8572, allocations: 367.7 kB / 0.7438 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.8621, allocations: 4.809 MB / 0.7485 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.8623, allocations: 251.8 kB / 0.7488 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008478/0.8632, allocations: 0.5673 MB / 0.7493 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.8635, allocations: 223.3 kB / 0.7495 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.8635, allocations: 0 / 0.7495 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/0.9148, allocations: 24.98 MB / 0.7739 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.35, allocations: 8.062 kB / 0.7739 GB, free: 142.8 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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: 17.592183588072658]