Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 105.2 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 191.6 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.181/0.181, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 72.86 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0802/0.08191, allocations: 57.78 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3351/0.4171, allocations: 190 MB / 0.6158 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007385/0.4245, allocations: 6.056 MB / 0.6218 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.4251, allocations: 17.69 kB / 0.6218 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.4259, allocations: 318.5 kB / 0.6221 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003765/0.4297, allocations: 1.941 MB / 0.624 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.4312, allocations: 0.713 MB / 0.6247 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.4325, allocations: 1.535 MB / 0.6262 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.4329, allocations: 416.7 kB / 0.6266 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.4335, allocations: 0.5764 MB / 0.6271 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.434, allocations: 458.1 kB / 0.6276 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.219e-05/0.4341, allocations: 52 kB / 0.6276 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.4367, allocations: 2.008 MB / 0.6296 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.4369, allocations: 163.5 kB / 0.6297 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.4372, allocations: 342.5 kB / 0.6301 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.4392, allocations: 1.913 MB / 0.6319 GB, free: 4.969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4392, allocations: 0 / 0.6319 GB, free: 4.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.4392, allocations: 0 / 0.6319 GB, free: 4.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4393, allocations: 0 / 0.6319 GB, free: 4.969 MB / 446.1 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.001549/0.4408, allocations: 1.107 MB / 0.633 GB, free: 3.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.4409, allocations: 19.89 kB / 0.633 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.264e-05/0.441, allocations: 90.45 kB / 0.6331 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008649/0.4418, allocations: 135.2 kB / 0.6332 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.4424, allocations: 464.5 kB / 0.6337 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.4424, allocations: 29 kB / 0.6337 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.4424, allocations: 44 kB / 0.6337 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.4433, allocations: 0.5905 MB / 0.6343 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4434, allocations: 0 / 0.6343 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.4434, allocations: 24 kB / 0.6343 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.4434, allocations: 12 kB / 0.6344 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007853/0.4442, allocations: 471.6 kB / 0.6348 GB, free: 1.871 MB / 446.1 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.002467/0.4467, allocations: 2.682 MB / 0.6374 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.4473, allocations: 339.4 kB / 0.6378 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.4476, allocations: 173.4 kB / 0.6379 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.4487, allocations: 1.301 MB / 0.6392 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.4487, allocations: 35.59 kB / 0.6392 GB, free: 12.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.4487, allocations: 0 / 0.6392 GB, free: 12.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.00147/0.4502, allocations: 0.7103 MB / 0.6399 GB, free: 12.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.4503, allocations: 136.5 kB / 0.64 GB, free: 11.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.4507, allocations: 469.9 kB / 0.6405 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.4507, allocations: 37.7 kB / 0.6405 GB, free: 11.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.4509, allocations: 271.7 kB / 0.6408 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.451, allocations: 118.4 kB / 0.6409 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.4511, allocations: 102 kB / 0.641 GB, free: 10.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4512, allocations: 358.8 kB / 0.6413 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.4515, allocations: 144.8 kB / 0.6415 GB, free: 10.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.4519, allocations: 283.7 kB / 0.6418 GB, free: 10.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.4525, allocations: 433.6 kB / 0.6422 GB, free: 9.688 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4525, allocations: 0 / 0.6422 GB, free: 9.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008689/0.4534, allocations: 0.5351 MB / 0.6427 GB, free: 9.145 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4534, allocations: 8.781 kB / 0.6427 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4534, allocations: 4.438 kB / 0.6427 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.4548, allocations: 244.5 kB / 0.6429 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.4552, allocations: 103.8 kB / 0.643 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003621/0.4555, allocations: 0.5875 MB / 0.6436 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.4558, allocations: 47.52 kB / 0.6437 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.4559, allocations: 51.92 kB / 0.6437 GB, free: 8.078 MB / 462.1 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.0001805/0.4561, allocations: 189.6 kB / 0.6439 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4562, allocations: 51.44 kB / 0.6439 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.4576, allocations: 0.7092 MB / 0.6446 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4576, allocations: 4 kB / 0.6446 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4576, allocations: 0 / 0.6446 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4576, allocations: 3.938 kB / 0.6446 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.4588, allocations: 1.01 MB / 0.6456 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4588, allocations: 0 / 0.6456 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.459, allocations: 55.84 kB / 0.6457 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002933/0.462, allocations: 440.4 kB / 0.6461 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.462, allocations: 8 kB / 0.6461 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003485/0.4624, allocations: 0.607 MB / 0.6467 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4624, allocations: 3.984 kB / 0.6467 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.4631, allocations: 0.5041 MB / 0.6472 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4632, allocations: 140.3 kB / 0.6473 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.4633, allocations: 19.78 kB / 0.6473 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.4636, allocations: 15.98 kB / 0.6474 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.4636, allocations: 27.91 kB / 0.6474 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.4637, allocations: 19.98 kB / 0.6474 GB, free: 4.098 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003879/0.4641, allocations: 398.8 kB / 0.6478 GB, free: 3.711 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4641, allocations: 0 / 0.6478 GB, free: 3.711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000841/0.4649, allocations: 367.7 kB / 0.6481 GB, free: 3.352 MB / 462.1 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.001741/0.4667, allocations: 1.45 MB / 0.6495 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007625/0.4674, allocations: 388.4 kB / 0.6499 GB, free: 1.488 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4674, allocations: 0 / 0.6499 GB, free: 1.488 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.4678, allocations: 163.8 kB / 0.6501 GB, free: 1.328 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.4693, allocations: 382.2 kB / 0.6504 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.4748, allocations: 4.942 MB / 0.6553 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.4751, allocations: 0.8557 MB / 0.6561 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007606/0.4759, allocations: 193 kB / 0.6563 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.4762, allocations: 215.4 kB / 0.6565 GB, free: 10.53 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4762, allocations: 3.938 kB / 0.6565 GB, free: 10.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6664/1.143, allocations: 23.76 MB / 0.6797 GB, free: 2.758 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.43, allocations: 11.81 kB / 0.6797 GB, free: 2.746 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches