Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001344/0.001344, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001473/0.001473, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2233/0.2233, allocations: 44.93 MB / 358.8 MB, free: 6.051 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.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",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.002093/0.002093, allocations: 67.88 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2093/0.5503, allocations: 161.7 MB / 0.7149 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006655/0.5569, allocations: 3.408 MB / 0.7183 GB, free: 1.758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006162/0.5576, allocations: 19.81 kB / 0.7183 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5586, allocations: 313.9 kB / 0.7186 GB, free: 1.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006195/0.5648, allocations: 1.763 MB / 0.7203 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.5673, allocations: 0.7162 MB / 0.721 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002304/0.5696, allocations: 1.551 MB / 0.7225 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007272/0.5703, allocations: 359.8 kB / 0.7228 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.5715, allocations: 0.6111 MB / 0.7234 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008437/0.5723, allocations: 462 kB / 0.7239 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.5725, allocations: 52 kB / 0.7239 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.5754, allocations: 1.19 MB / 0.7251 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.5756, allocations: 163.4 kB / 0.7253 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004665/0.5761, allocations: 294.8 kB / 0.7255 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003015/0.5791, allocations: 1.671 MB / 0.7272 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.5791, allocations: 0 / 0.7272 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5791, allocations: 0 / 0.7272 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.5791, allocations: 0 / 0.7272 GB, free: 8.605 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.002257/0.5814, allocations: 1.033 MB / 0.7282 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5814, allocations: 8.031 kB / 0.7282 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.5816, allocations: 82.53 kB / 0.7283 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.5826, allocations: 135.5 kB / 0.7284 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/0.5836, allocations: 433.5 kB / 0.7288 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.5836, allocations: 32.94 kB / 0.7288 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.5837, allocations: 40 kB / 0.7289 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.5851, allocations: 0.8996 MB / 0.7298 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.5851, allocations: 7.922 kB / 0.7298 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-05/0.5852, allocations: 20 kB / 0.7298 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.5852, allocations: 12 kB / 0.7298 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5862, allocations: 475.6 kB / 0.7302 GB, free: 5.27 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.003213/0.5894, allocations: 1.954 MB / 0.7322 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/0.5902, allocations: 329.5 kB / 0.7325 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.5905, allocations: 157.3 kB / 0.7326 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.5908, allocations: 56.22 kB / 0.7327 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.5908, allocations: 42.78 kB / 0.7327 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.5908, allocations: 0 / 0.7327 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001794/0.5926, allocations: 0.6514 MB / 0.7333 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.5927, allocations: 132.5 kB / 0.7335 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.5934, allocations: 482 kB / 0.7339 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.5934, allocations: 33.7 kB / 0.734 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.5937, allocations: 284.2 kB / 0.7342 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.5938, allocations: 127 kB / 0.7344 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.594, allocations: 110 kB / 0.7345 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5941, allocations: 362.8 kB / 0.7348 GB, free: 440 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.5945, allocations: 144.8 kB / 0.7349 GB, free: 296 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2665/0.861, allocations: 361.3 kB / 0.7353 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.8619, allocations: 436.8 kB / 0.7357 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.8619, allocations: 1.125 kB / 0.7357 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001405/0.8633, allocations: 0.5471 MB / 0.7362 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.8634, allocations: 7.406 kB / 0.7363 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.8634, allocations: 3.594 kB / 0.7363 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.8651, allocations: 243.8 kB / 0.7365 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.8655, allocations: 106.1 kB / 0.7366 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004838/0.866, allocations: 0.5933 MB / 0.7372 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.8664, allocations: 47.33 kB / 0.7372 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.8665, allocations: 48.19 kB / 0.7373 GB, free: 177.8 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.0003039/0.8668, allocations: 189.3 kB / 0.7374 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.867, allocations: 57.02 kB / 0.7375 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.869, allocations: 1.094 MB / 0.7386 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.869, allocations: 3.969 kB / 0.7386 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.869, allocations: 0 / 0.7386 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.869, allocations: 2.203 kB / 0.7386 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.8702, allocations: 0.9218 MB / 0.7395 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.8703, allocations: 3.562 kB / 0.7395 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.8705, allocations: 53.05 kB / 0.7395 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/0.8734, allocations: 440.4 kB / 0.7399 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.8734, allocations: 7.312 kB / 0.7399 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000356/0.8738, allocations: 0.6161 MB / 0.7406 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8738, allocations: 0 / 0.7406 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.8745, allocations: 0.5048 MB / 0.741 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.8747, allocations: 58.81 kB / 0.7411 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.8748, allocations: 16.98 kB / 0.7411 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.8751, allocations: 26.03 kB / 0.7411 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.8752, allocations: 20.53 kB / 0.7412 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.8752, allocations: 21.47 kB / 0.7412 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004538/0.8756, allocations: 412.9 kB / 0.7416 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8756, allocations: 0 / 0.7416 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001039/0.8767, allocations: 342.8 kB / 0.7419 GB, free: 175.3 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.001632/0.8783, allocations: 1.373 MB / 0.7432 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007806/0.8791, allocations: 365.2 kB / 0.7436 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8791, allocations: 0 / 0.7436 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.8794, allocations: 156.1 kB / 0.7437 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.881, allocations: 371.3 kB / 0.7441 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.8863, allocations: 4.878 MB / 0.7489 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.8864, allocations: 259.6 kB / 0.7491 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000875/0.8873, allocations: 0.5517 MB / 0.7496 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.8876, allocations: 227.3 kB / 0.7499 GB, free: 167 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/0.8876, allocations: 0 / 0.7499 GB, free: 167 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.9381, allocations: 25.54 MB / 0.7748 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.33, allocations: 15.45 kB / 0.7748 GB, free: 141.9 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.50584752112627]