Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_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 3.2.3+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008012/0.000801, allocations: 86.36 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3413/0.3413, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 15.98 kB / 432.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 58.84 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3639/0.484, allocations: 173.3 MB / 0.6486 GB, free: 9.477 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008033/0.4921, allocations: 5.725 MB / 0.6542 GB, free: 3.746 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006879/0.4928, allocations: 19.81 kB / 0.6543 GB, free: 3.727 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00096/0.4938, allocations: 250.4 kB / 0.6545 GB, free: 3.48 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004922/0.4987, allocations: 1.701 MB / 0.6562 GB, free: 1.785 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.5006, allocations: 0.5828 MB / 0.6567 GB, free: 1.211 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.5027, allocations: 1.734 MB / 0.6584 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006546/0.5034, allocations: 366.2 kB / 0.6588 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.5044, allocations: 0.5097 MB / 0.6593 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007873/0.5052, allocations: 450.2 kB / 0.6597 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.5053, allocations: 28 kB / 0.6597 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.5088, allocations: 1.877 MB / 0.6615 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.509, allocations: 131.5 kB / 0.6617 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.5095, allocations: 336.3 kB / 0.662 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.5113, allocations: 1.239 MB / 0.6632 GB, free: 10.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5114, allocations: 4 kB / 0.6632 GB, free: 10.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5114, allocations: 0 / 0.6632 GB, free: 10.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.5114, allocations: 0 / 0.6632 GB, free: 10.55 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.001951/0.5133, allocations: 0.9702 MB / 0.6642 GB, free: 9.527 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5134, allocations: 15.91 kB / 0.6642 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.5135, allocations: 86.52 kB / 0.6643 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009399/0.5145, allocations: 135.2 kB / 0.6644 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.5152, allocations: 472.5 kB / 0.6648 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.5152, allocations: 37 kB / 0.6649 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.5153, allocations: 39.94 kB / 0.6649 GB, free: 8.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.5164, allocations: 0.5906 MB / 0.6655 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5164, allocations: 0 / 0.6655 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.5165, allocations: 20 kB / 0.6655 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5165, allocations: 12 kB / 0.6655 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009354/0.5174, allocations: 487.5 kB / 0.666 GB, free: 7.57 MB / 490.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.002905/0.5203, allocations: 2.67 MB / 0.6686 GB, free: 4.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006751/0.521, allocations: 332.1 kB / 0.6689 GB, free: 4.348 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.5213, allocations: 185.2 kB / 0.6691 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.5225, allocations: 1.305 MB / 0.6704 GB, free: 2.637 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5226, allocations: 46.78 kB / 0.6704 GB, free: 2.582 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.5226, allocations: 0 / 0.6704 GB, free: 2.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001585/0.5242, allocations: 0.7182 MB / 0.6711 GB, free: 1.836 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.5243, allocations: 132.5 kB / 0.6712 GB, free: 1.676 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.5248, allocations: 477.9 kB / 0.6717 GB, free: 1.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.5248, allocations: 33.7 kB / 0.6717 GB, free: 1.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.525, allocations: 271.8 kB / 0.672 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5251, allocations: 130.2 kB / 0.6721 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.5252, allocations: 8 kB / 0.6721 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5253, allocations: 358.8 kB / 0.6724 GB, free: 404 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.5256, allocations: 148.7 kB / 0.6726 GB, free: 256 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1709/0.6965, allocations: 279.8 kB / 0.6729 GB, free: 152 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007653/0.6973, allocations: 445.7 kB / 0.6733 GB, free: 151.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6974, allocations: 1.438 kB / 0.6733 GB, free: 151.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001013/0.6984, allocations: 0.5361 MB / 0.6738 GB, free: 151.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6984, allocations: 5.5 kB / 0.6738 GB, free: 151.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6984, allocations: 4.125 kB / 0.6738 GB, free: 151.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.7, allocations: 289.3 kB / 0.6741 GB, free: 151.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.7003, allocations: 104.4 kB / 0.6742 GB, free: 151.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003152/0.7007, allocations: 0.5928 MB / 0.6748 GB, free: 151.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.7011, allocations: 65.88 kB / 0.6748 GB, free: 151.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.7011, allocations: 45.88 kB / 0.6749 GB, free: 151.3 MB / 490.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 (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.0002197/0.7014, allocations: 182.5 kB / 0.6751 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.7015, allocations: 57.3 kB / 0.6751 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.703, allocations: 0.7265 MB / 0.6758 GB, free: 151 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.703, allocations: 3.969 kB / 0.6758 GB, free: 151 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.703, allocations: 0 / 0.6758 GB, free: 151 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.703, allocations: 5.844 kB / 0.6758 GB, free: 151 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.7044, allocations: 1.013 MB / 0.6768 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7044, allocations: 2.094 kB / 0.6768 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.7046, allocations: 56.75 kB / 0.6769 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/0.7078, allocations: 0.5364 MB / 0.6774 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.7078, allocations: 9.125 kB / 0.6774 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002869/0.7081, allocations: 0.608 MB / 0.678 GB, free: 150.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7082, allocations: 1 kB / 0.678 GB, free: 150.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006991/0.7089, allocations: 0.5142 MB / 0.6785 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.709, allocations: 162.3 kB / 0.6787 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.7091, allocations: 12.19 kB / 0.6787 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.7094, allocations: 37.06 kB / 0.6787 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.7095, allocations: 23.19 kB / 0.6787 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.7096, allocations: 17.66 kB / 0.6787 GB, free: 149.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004175/0.71, allocations: 373.5 kB / 0.6791 GB, free: 149.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.71, allocations: 0 / 0.6791 GB, free: 149.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009187/0.7109, allocations: 371.2 kB / 0.6795 GB, free: 149.7 MB / 490.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 (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.00174/0.7127, allocations: 1.451 MB / 0.6809 GB, free: 148.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007695/0.7134, allocations: 380.6 kB / 0.6812 GB, free: 148.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.7135, allocations: 1.312 kB / 0.6812 GB, free: 148.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.7138, allocations: 170.9 kB / 0.6814 GB, free: 148.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.7152, allocations: 295.2 kB / 0.6817 GB, free: 148.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.719, allocations: 3.074 MB / 0.6847 GB, free: 147.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.7193, allocations: 0.8514 MB / 0.6855 GB, free: 147 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.7197, allocations: 230.5 kB / 0.6857 GB, free: 146.9 MB / 490.7 MB Notification: Performance of SimCode: time 3.2e-07/0.7197, allocations: 0 / 0.6857 GB, free: 146.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.398/5.118, allocations: 15.34 MB / 0.7007 GB, free: 145.3 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches