Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.0008728/0.0008728, allocations: 96.14 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 200 kB / 18.28 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1799/0.1799, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.000235, allocations: 4 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09154, allocations: 63.57 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3461/0.4377, allocations: 181.6 MB / 0.6492 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005131/0.4428, allocations: 3.741 MB / 0.6528 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.4431, allocations: 23.81 kB / 0.6529 GB, free: 11.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.4438, allocations: 270.5 kB / 0.6531 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.4469, allocations: 1.535 MB / 0.6546 GB, free: 9.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.4483, allocations: 0.6416 MB / 0.6552 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.45, allocations: 2.027 MB / 0.6572 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.4505, allocations: 359.2 kB / 0.6576 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.4511, allocations: 0.5097 MB / 0.6581 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.4516, allocations: 462.1 kB / 0.6585 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.4516, allocations: 28 kB / 0.6585 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.4541, allocations: 1.837 MB / 0.6603 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.4542, allocations: 135.5 kB / 0.6604 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.4545, allocations: 344.2 kB / 0.6608 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.4565, allocations: 1.792 MB / 0.6625 GB, free: 1.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4566, allocations: 4 kB / 0.6625 GB, free: 1.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4566, allocations: 0 / 0.6625 GB, free: 1.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.4566, allocations: 0 / 0.6625 GB, free: 1.223 MB / 494.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.001511/0.4581, allocations: 0.935 MB / 0.6634 GB, free: 244 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4581, allocations: 11.97 kB / 0.6635 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.4582, allocations: 90.52 kB / 0.6635 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.4592, allocations: 135.3 kB / 0.6637 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.4598, allocations: 472.5 kB / 0.6641 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.4598, allocations: 32.94 kB / 0.6641 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.4599, allocations: 40.88 kB / 0.6642 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4609, allocations: 0.5906 MB / 0.6648 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4609, allocations: 4 kB / 0.6648 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.461, allocations: 20 kB / 0.6648 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.461, allocations: 19.98 kB / 0.6648 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.4619, allocations: 483.5 kB / 0.6653 GB, free: 14.27 MB / 0.4981 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.002676/0.4646, allocations: 2.659 MB / 0.6679 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.4653, allocations: 343.6 kB / 0.6682 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.4656, allocations: 177.3 kB / 0.6684 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.466, allocations: 437.8 kB / 0.6688 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.466, allocations: 38.84 kB / 0.6688 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.466, allocations: 0 / 0.6688 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001619/0.4676, allocations: 0.7266 MB / 0.6695 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.4677, allocations: 132.5 kB / 0.6697 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.4682, allocations: 485.9 kB / 0.6701 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.4683, allocations: 29.7 kB / 0.6701 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4684, allocations: 271.9 kB / 0.6704 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.4685, allocations: 126.2 kB / 0.6705 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.4686, allocations: 37.7 kB / 0.6706 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4687, allocations: 358.8 kB / 0.6709 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.469, allocations: 148.8 kB / 0.671 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.4694, allocations: 287.7 kB / 0.6713 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.4701, allocations: 445.6 kB / 0.6717 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4701, allocations: 7.938 kB / 0.6718 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009392/0.471, allocations: 0.552 MB / 0.6723 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4711, allocations: 4 kB / 0.6723 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4711, allocations: 7.812 kB / 0.6723 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.4726, allocations: 289 kB / 0.6726 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.473, allocations: 107.9 kB / 0.6727 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003777/0.4733, allocations: 0.5913 MB / 0.6733 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.4737, allocations: 63.58 kB / 0.6733 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.4738, allocations: 43.98 kB / 0.6734 GB, free: 5.422 MB / 0.4981 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.0002143/0.474, allocations: 185.7 kB / 0.6735 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/0.4741, allocations: 51.34 kB / 0.6736 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.476, allocations: 1.099 MB / 0.6747 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.4761, allocations: 4 kB / 0.6747 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4761, allocations: 0 / 0.6747 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4761, allocations: 7.875 kB / 0.6747 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.4774, allocations: 1.018 MB / 0.6757 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4774, allocations: 0 / 0.6757 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.4776, allocations: 64 kB / 0.6757 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/0.481, allocations: 0.5315 MB / 0.6762 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.481, allocations: 8 kB / 0.6763 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003564/0.4814, allocations: 0.5953 MB / 0.6768 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.4814, allocations: 7.969 kB / 0.6768 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.4821, allocations: 0.5244 MB / 0.6774 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.4823, allocations: 152.3 kB / 0.6775 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.4824, allocations: 11.98 kB / 0.6775 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.4827, allocations: 36.05 kB / 0.6775 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.4828, allocations: 31.84 kB / 0.6776 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.4828, allocations: 19.98 kB / 0.6776 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004408/0.4833, allocations: 410.8 kB / 0.678 GB, free: 500 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4833, allocations: 0 / 0.678 GB, free: 500 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008462/0.4841, allocations: 343.5 kB / 0.6783 GB, free: 156 kB / 0.4981 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.00176/0.4859, allocations: 1.388 MB / 0.6797 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007572/0.4867, allocations: 385.3 kB / 0.68 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4867, allocations: 0 / 0.68 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.487, allocations: 172.5 kB / 0.6802 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.4888, allocations: 357.4 kB / 0.6805 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.4948, allocations: 5.178 MB / 0.6856 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.4952, allocations: 0.8557 MB / 0.6864 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001115/0.4963, allocations: 0.5591 MB / 0.687 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/0.4967, allocations: 215.3 kB / 0.6872 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.4967, allocations: 0 / 0.6872 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.5337, allocations: 22 MB / 0.7087 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/0.534, allocations: 297.9 kB / 0.709 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.864, allocations: 0 / 0.709 GB, free: 0.7031 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches