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.001478/0.001478, allocations: 105.1 kB / 16.4 MB, free: 6.477 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.001575/0.001575, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.213/0.213, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 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.002654/0.002655, allocations: 68.47 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1453, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4559/0.6012, allocations: 190 MB / 0.6729 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008814/0.6101, allocations: 6.066 MB / 0.6789 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.6107, allocations: 15.88 kB / 0.6789 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.6119, allocations: 317.9 kB / 0.6792 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005066/0.617, allocations: 1.943 MB / 0.6811 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.619, allocations: 0.7261 MB / 0.6818 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.6211, allocations: 1.516 MB / 0.6833 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007188/0.6218, allocations: 423.5 kB / 0.6837 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.6229, allocations: 0.5838 MB / 0.6842 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.6236, allocations: 454.2 kB / 0.6847 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.6237, allocations: 52 kB / 0.6847 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.6275, allocations: 2.106 MB / 0.6868 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.6277, allocations: 159.4 kB / 0.6869 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.6282, allocations: 338.5 kB / 0.6873 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.6314, allocations: 1.921 MB / 0.6891 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6315, allocations: 0 / 0.6891 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6315, allocations: 4 kB / 0.6891 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.326e-05/0.6315, allocations: 0 / 0.6891 GB, free: 12.12 MB / 0.5294 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.00217/0.6337, allocations: 1.114 MB / 0.6902 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.6337, allocations: 11.89 kB / 0.6902 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.6338, allocations: 82.52 kB / 0.6903 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.6349, allocations: 143.2 kB / 0.6905 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008422/0.6357, allocations: 489.6 kB / 0.6909 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.6358, allocations: 32.94 kB / 0.691 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.6358, allocations: 44 kB / 0.691 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.6369, allocations: 0.5828 MB / 0.6916 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.637, allocations: 0 / 0.6916 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.637, allocations: 23.98 kB / 0.6916 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.637, allocations: 12 kB / 0.6916 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008962/0.6379, allocations: 463.6 kB / 0.692 GB, free: 9.016 MB / 0.5294 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.003243/0.6412, allocations: 2.67 MB / 0.6947 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.6419, allocations: 341.9 kB / 0.695 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.6422, allocations: 165.3 kB / 0.6951 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.6435, allocations: 1.305 MB / 0.6964 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.6435, allocations: 38.84 kB / 0.6964 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/0.6435, allocations: 0 / 0.6964 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001691/0.6452, allocations: 0.7103 MB / 0.6971 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.6453, allocations: 140.5 kB / 0.6973 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.6458, allocations: 465.9 kB / 0.6977 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.6459, allocations: 33.7 kB / 0.6977 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.6461, allocations: 275.8 kB / 0.698 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/0.6462, allocations: 114.4 kB / 0.6981 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.6463, allocations: 102 kB / 0.6982 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6465, allocations: 362.8 kB / 0.6986 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.6468, allocations: 144.8 kB / 0.6987 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.6472, allocations: 283.5 kB / 0.699 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.6479, allocations: 437.6 kB / 0.6994 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6479, allocations: 0 / 0.6994 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009955/0.6489, allocations: 0.5249 MB / 0.6999 GB, free: 312 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6489, allocations: 11.94 kB / 0.6999 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.649, allocations: 4 kB / 0.6999 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.6505, allocations: 240.9 kB / 0.7001 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.6508, allocations: 103.8 kB / 0.7002 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004467/0.6513, allocations: 0.5913 MB / 0.7008 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.6516, allocations: 47.52 kB / 0.7009 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.6517, allocations: 47.98 kB / 0.7009 GB, free: 15.24 MB / 0.545 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.0002273/0.6519, allocations: 185.6 kB / 0.7011 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.6521, allocations: 55.44 kB / 0.7011 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.6535, allocations: 0.7091 MB / 0.7018 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6535, allocations: 4 kB / 0.7018 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6535, allocations: 0 / 0.7018 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.6536, allocations: 3.938 kB / 0.7018 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.6551, allocations: 1.014 MB / 0.7028 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6551, allocations: 0 / 0.7028 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.6553, allocations: 59.84 kB / 0.7029 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/0.6585, allocations: 440.4 kB / 0.7033 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.6585, allocations: 11.94 kB / 0.7033 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004353/0.659, allocations: 0.5953 MB / 0.7039 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.659, allocations: 1 kB / 0.7039 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.6598, allocations: 0.5157 MB / 0.7044 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.66, allocations: 132.4 kB / 0.7045 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.6601, allocations: 15.84 kB / 0.7046 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.6604, allocations: 23.98 kB / 0.7046 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.6605, allocations: 27.91 kB / 0.7046 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.6606, allocations: 15.98 kB / 0.7046 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004791/0.661, allocations: 402.8 kB / 0.705 GB, free: 10.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6611, allocations: 0 / 0.705 GB, free: 10.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009783/0.662, allocations: 363.7 kB / 0.7053 GB, free: 10.5 MB / 0.545 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.002236/0.6643, allocations: 1.457 MB / 0.7068 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008312/0.6651, allocations: 368.5 kB / 0.7071 GB, free: 8.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/0.6652, allocations: 4 kB / 0.7071 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.6655, allocations: 159.8 kB / 0.7073 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.6672, allocations: 371.7 kB / 0.7076 GB, free: 8.121 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/0.6738, allocations: 4.804 MB / 0.7123 GB, free: 3.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.6742, allocations: 0.8557 MB / 0.7132 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006827/0.6749, allocations: 208.9 kB / 0.7134 GB, free: 2.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.6752, allocations: 211.4 kB / 0.7136 GB, free: 1.82 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.6752, allocations: 0 / 0.7136 GB, free: 1.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0511/0.7264, allocations: 24.22 MB / 0.7372 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.29, allocations: 7.984 kB / 0.7372 GB, free: 9.574 MB / 0.5762 GB (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