Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009378/0.0009378, allocations: 80.53 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008113/0.0008113, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.822/0.822, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1272/0.1272, allocations: 32.38 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 4 kB / 406.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.294e-05, allocations: 6.078 kB / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2866/0.2866, allocations: 164.9 MB / 0.5583 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006037/0.2927, allocations: 5.597 MB / 0.5638 GB, free: 12.93 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006097/0.2933, allocations: 22.31 kB / 0.5638 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.2941, allocations: 319.9 kB / 0.5641 GB, free: 12.65 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.2982, allocations: 2.001 MB / 0.5661 GB, free: 11.31 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.2996, allocations: 0.7433 MB / 0.5668 GB, free: 10.76 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.3013, allocations: 1.556 MB / 0.5683 GB, free: 9.848 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008105/0.3021, allocations: 358.9 kB / 0.5687 GB, free: 9.598 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009739/0.303, allocations: 0.809 MB / 0.5695 GB, free: 9.109 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.3035, allocations: 411.6 kB / 0.5699 GB, free: 8.898 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.3035, allocations: 55.28 kB / 0.5699 GB, free: 8.895 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.3058, allocations: 1.363 MB / 0.5712 GB, free: 8.234 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3059, allocations: 172.9 kB / 0.5714 GB, free: 8.102 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.3063, allocations: 248.4 kB / 0.5716 GB, free: 7.992 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002848/0.3091, allocations: 1.9 MB / 0.5735 GB, free: 6.816 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3091, allocations: 0 / 0.5735 GB, free: 6.816 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3091, allocations: 0 / 0.5735 GB, free: 6.816 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.3091, allocations: 0 / 0.5735 GB, free: 6.816 MB / 458.7 MB 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.001494/0.3106, allocations: 1.065 MB / 0.5745 GB, free: 6.008 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3107, allocations: 10.47 kB / 0.5746 GB, free: 6.008 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.156e-05/0.3107, allocations: 87.48 kB / 0.5746 GB, free: 5.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/0.3113, allocations: 137.8 kB / 0.5748 GB, free: 5.867 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.3119, allocations: 431 kB / 0.5752 GB, free: 5.527 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3119, allocations: 28.94 kB / 0.5752 GB, free: 5.516 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.312, allocations: 42.45 kB / 0.5752 GB, free: 5.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.3128, allocations: 0.8932 MB / 0.5761 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3128, allocations: 3.938 kB / 0.5761 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.3128, allocations: 25.12 kB / 0.5761 GB, free: 4.707 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3129, allocations: 10.72 kB / 0.5762 GB, free: 4.707 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.3134, allocations: 472.2 kB / 0.5766 GB, free: 4.496 MB / 458.7 MB 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.001942/0.3154, allocations: 1.974 MB / 0.5785 GB, free: 2.875 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.3159, allocations: 323.8 kB / 0.5788 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.3161, allocations: 159 kB / 0.579 GB, free: 2.629 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009021/0.317, allocations: 424.5 kB / 0.5794 GB, free: 2.258 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.317, allocations: 38.84 kB / 0.5794 GB, free: 2.211 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 2.815e-06/0.317, allocations: 0 / 0.5794 GB, free: 2.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.001151/0.3182, allocations: 0.6478 MB / 0.5801 GB, free: 1.555 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3182, allocations: 136.5 kB / 0.5802 GB, free: 1.391 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.3186, allocations: 482 kB / 0.5807 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.3186, allocations: 33.7 kB / 0.5807 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3188, allocations: 290 kB / 0.581 GB, free: 0.582 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.3189, allocations: 123 kB / 0.5811 GB, free: 472 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.319, allocations: 98.17 kB / 0.5812 GB, free: 368 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3191, allocations: 358.8 kB / 0.5815 GB, free: 0 / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.3193, allocations: 149 kB / 0.5817 GB, free: 15.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.3196, allocations: 360.6 kB / 0.582 GB, free: 15.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.32, allocations: 436.7 kB / 0.5824 GB, free: 14.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.32, allocations: 0 / 0.5824 GB, free: 14.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006714/0.3207, allocations: 0.5329 MB / 0.5829 GB, free: 14.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3207, allocations: 8 kB / 0.583 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3207, allocations: 0 / 0.583 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000819/0.3215, allocations: 248.9 kB / 0.5832 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3218, allocations: 99.88 kB / 0.5833 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003475/0.3221, allocations: 0.5999 MB / 0.5839 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.3224, allocations: 51.61 kB / 0.5839 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.3224, allocations: 43.98 kB / 0.584 GB, free: 13.34 MB / 474.7 MB 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.0002223/0.3226, allocations: 193.6 kB / 0.5841 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.3227, allocations: 55.67 kB / 0.5842 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009202/0.3236, allocations: 0.7238 MB / 0.5849 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3236, allocations: 0 / 0.5849 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3236, allocations: 4 kB / 0.5849 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3236, allocations: 0 / 0.5849 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3247, allocations: 0.9364 MB / 0.5858 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.3247, allocations: 7.938 kB / 0.5858 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3248, allocations: 51.91 kB / 0.5859 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.3265, allocations: 440.2 kB / 0.5863 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.3265, allocations: 15.98 kB / 0.5863 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003108/0.3268, allocations: 0.6008 MB / 0.5869 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3268, allocations: 0 / 0.5869 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.3274, allocations: 0.5169 MB / 0.5874 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.3275, allocations: 63.48 kB / 0.5875 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.3276, allocations: 8 kB / 0.5875 GB, free: 9.598 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.3277, allocations: 15.98 kB / 0.5875 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.3278, allocations: 31.89 kB / 0.5875 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3278, allocations: 16 kB / 0.5875 GB, free: 9.535 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003416/0.3281, allocations: 406.8 kB / 0.5879 GB, free: 9.141 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3281, allocations: 0 / 0.5879 GB, free: 9.141 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008126/0.329, allocations: 374.9 kB / 0.5883 GB, free: 8.773 MB / 474.7 MB 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.001719/0.3307, allocations: 1.475 MB / 0.5897 GB, free: 7.266 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.3313, allocations: 364.6 kB / 0.5901 GB, free: 6.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3313, allocations: 0 / 0.5901 GB, free: 6.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.3315, allocations: 152 kB / 0.5902 GB, free: 6.762 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3326, allocations: 373 kB / 0.5906 GB, free: 6.418 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/0.3379, allocations: 4.895 MB / 0.5954 GB, free: 1.316 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.3381, allocations: 255.6 kB / 0.5956 GB, free: 1.039 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005923/0.3387, allocations: 206.1 kB / 0.5958 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.3389, allocations: 208.4 kB / 0.596 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3389, allocations: 3.938 kB / 0.596 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.3777, allocations: 26.45 MB / 0.6218 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.343, allocations: 0 / 0.6218 GB, free: 6.168 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.29163492564112]