Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009386/0.0009387, allocations: 198 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.134/1.134, allocations: 226.5 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006785/0.0006784, allocations: 92.75 kB / 295.5 MB, free: 6.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2503/0.2503, allocations: 44.83 MB / 392.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002339/0.000234, allocations: 11.98 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2367, allocations: 62.96 MB / 0.516 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1507/0.3874, allocations: 167 MB / 0.679 GB, free: 2.066 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2216/0.609, allocations: 3.495 MB / 0.6825 GB, free: 5.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.6096, allocations: 22.03 kB / 0.6825 GB, free: 5.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008223/0.6105, allocations: 245.2 kB / 0.6827 GB, free: 5.18 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003753/0.6142, allocations: 1.517 MB / 0.6842 GB, free: 5.133 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.6158, allocations: 0.5936 MB / 0.6848 GB, free: 5.109 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.6176, allocations: 1.742 MB / 0.6865 GB, free: 5.109 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/0.6182, allocations: 358 kB / 0.6868 GB, free: 5.074 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009262/0.6191, allocations: 0.5089 MB / 0.6873 GB, free: 5.074 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006775/0.6198, allocations: 439.5 kB / 0.6877 GB, free: 5.074 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.6199, allocations: 26.81 kB / 0.6878 GB, free: 5.074 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.6224, allocations: 1.751 MB / 0.6895 GB, free: 5.051 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.6226, allocations: 129.7 kB / 0.6896 GB, free: 5.051 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.6229, allocations: 333 kB / 0.6899 GB, free: 5.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.6242, allocations: 1.19 MB / 0.6911 GB, free: 4.934 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6242, allocations: 0 / 0.6911 GB, free: 4.934 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6242, allocations: 0 / 0.6911 GB, free: 4.934 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.6242, allocations: 0 / 0.6911 GB, free: 4.934 MB / 490.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.001571/0.6258, allocations: 0.9375 MB / 0.692 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.6258, allocations: 10.78 kB / 0.692 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.945e-05/0.6259, allocations: 83.5 kB / 0.6921 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.6267, allocations: 134.3 kB / 0.6922 GB, free: 20.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.6273, allocations: 475.1 kB / 0.6927 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.6273, allocations: 35.59 kB / 0.6927 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.6274, allocations: 40.09 kB / 0.6927 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.6283, allocations: 0.6023 MB / 0.6933 GB, free: 19.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6283, allocations: 0 / 0.6933 GB, free: 19.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.6283, allocations: 19.84 kB / 0.6933 GB, free: 19.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.6284, allocations: 13.06 kB / 0.6933 GB, free: 19.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/0.6291, allocations: 480 kB / 0.6938 GB, free: 19.84 MB / 0.4948 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.002576/0.6317, allocations: 2.652 MB / 0.6964 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.6324, allocations: 352.8 kB / 0.6967 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.6327, allocations: 178.4 kB / 0.6969 GB, free: 18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/0.633, allocations: 434.8 kB / 0.6973 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.6331, allocations: 40.16 kB / 0.6974 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.6331, allocations: 2.219 kB / 0.6974 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001501/0.6346, allocations: 0.722 MB / 0.6981 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.6346, allocations: 137.9 kB / 0.6982 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.6351, allocations: 477 kB / 0.6986 GB, free: 17.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.6352, allocations: 33.61 kB / 0.6987 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.6353, allocations: 269.7 kB / 0.6989 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.6354, allocations: 117.7 kB / 0.699 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.6354, allocations: 8.5 kB / 0.6991 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6356, allocations: 362.2 kB / 0.6994 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.6359, allocations: 153.9 kB / 0.6995 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.6362, allocations: 285.3 kB / 0.6998 GB, free: 16.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.6368, allocations: 440.8 kB / 0.7002 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6368, allocations: 2.25 kB / 0.7002 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008742/0.6377, allocations: 0.5468 MB / 0.7008 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6377, allocations: 6.469 kB / 0.7008 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6377, allocations: 2.625 kB / 0.7008 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.6392, allocations: 284.7 kB / 0.7011 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.6396, allocations: 110.3 kB / 0.7012 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003957/0.64, allocations: 0.5964 MB / 0.7017 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.6403, allocations: 72.17 kB / 0.7018 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.867e-05/0.6404, allocations: 45.2 kB / 0.7019 GB, free: 15.55 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.6407, allocations: 180.7 kB / 0.702 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.6408, allocations: 54.75 kB / 0.7021 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.6427, allocations: 1.102 MB / 0.7032 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6428, allocations: 2.594 kB / 0.7032 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6428, allocations: 1.188 kB / 0.7032 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.6428, allocations: 2.25 kB / 0.7032 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.6441, allocations: 1.012 MB / 0.7042 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6441, allocations: 6.031 kB / 0.7042 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.6443, allocations: 54.03 kB / 0.7042 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00301/0.6473, allocations: 0.5334 MB / 0.7047 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.6474, allocations: 13.67 kB / 0.7047 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003734/0.6478, allocations: 0.604 MB / 0.7053 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6478, allocations: 0.9688 kB / 0.7053 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.6485, allocations: 0.5082 MB / 0.7058 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.6486, allocations: 148.2 kB / 0.706 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.6487, allocations: 6.781 kB / 0.706 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.649, allocations: 41.7 kB / 0.706 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.6491, allocations: 28.27 kB / 0.706 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.6492, allocations: 14.72 kB / 0.7061 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003999/0.6496, allocations: 372.1 kB / 0.7064 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6496, allocations: 1.094 kB / 0.7064 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009393/0.6505, allocations: 337.3 kB / 0.7067 GB, free: 13.79 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001782/0.6523, allocations: 1.402 MB / 0.7081 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007502/0.6531, allocations: 385.6 kB / 0.7085 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6531, allocations: 0.9688 kB / 0.7085 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.6534, allocations: 167.3 kB / 0.7086 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.6548, allocations: 297.2 kB / 0.7089 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.6589, allocations: 3.061 MB / 0.7119 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.6593, allocations: 0.8578 MB / 0.7127 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/0.6598, allocations: 256.2 kB / 0.713 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.6598, allocations: 8.531 kB / 0.713 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.126/5.786, allocations: 15.1 MB / 0.7277 GB, free: 5.652 MB / 0.4948 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches