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.00163/0.00163, allocations: 104.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002065/0.002065, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.3 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.78 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1498, allocations: 62.44 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5226/0.6725, allocations: 184 MB / 0.6478 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007606/0.6802, allocations: 3.807 MB / 0.6515 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.6813, allocations: 23.81 kB / 0.6515 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.6827, allocations: 262.5 kB / 0.6518 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.688, allocations: 1.528 MB / 0.6533 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.69, allocations: 0.6442 MB / 0.6539 GB, free: 5.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002786/0.6928, allocations: 2.023 MB / 0.6559 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009296/0.6938, allocations: 359.3 kB / 0.6562 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.6951, allocations: 0.5292 MB / 0.6568 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.6962, allocations: 462.1 kB / 0.6572 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.6964, allocations: 35.94 kB / 0.6572 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003985/0.7003, allocations: 1.841 MB / 0.659 GB, free: 164 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.7006, allocations: 135.5 kB / 0.6592 GB, free: 28 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007753/0.7014, allocations: 334.6 kB / 0.6595 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003827/0.7053, allocations: 1.792 MB / 0.6612 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.7053, allocations: 0 / 0.6612 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7053, allocations: 0 / 0.6612 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.126e-05/0.7053, allocations: 0 / 0.6612 GB, free: 13.9 MB / 0.4981 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.002904/0.7082, allocations: 1.087 MB / 0.6623 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.7083, allocations: 15.91 kB / 0.6623 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.7085, allocations: 86.52 kB / 0.6624 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.7097, allocations: 135.3 kB / 0.6625 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008833/0.7106, allocations: 464.4 kB / 0.663 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.7107, allocations: 33 kB / 0.663 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.7108, allocations: 39.94 kB / 0.663 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.7121, allocations: 0.5906 MB / 0.6636 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.7121, allocations: 0 / 0.6636 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.126e-05/0.7122, allocations: 23.94 kB / 0.6636 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.7122, allocations: 11.94 kB / 0.6636 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.7133, allocations: 475.6 kB / 0.6641 GB, free: 10.83 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.00362/0.717, allocations: 2.651 MB / 0.6667 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.7178, allocations: 347 kB / 0.667 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.7181, allocations: 173.3 kB / 0.6672 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005034/0.7186, allocations: 433.8 kB / 0.6676 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.7187, allocations: 38.84 kB / 0.6676 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/0.7187, allocations: 0 / 0.6676 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001873/0.7206, allocations: 0.7109 MB / 0.6683 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/0.7207, allocations: 136.5 kB / 0.6684 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.7212, allocations: 469.9 kB / 0.6689 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.7213, allocations: 33.7 kB / 0.6689 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.7215, allocations: 275.9 kB / 0.6692 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.7217, allocations: 114.3 kB / 0.6693 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.7219, allocations: 102.1 kB / 0.6694 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.722, allocations: 358.8 kB / 0.6697 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.7224, allocations: 148.7 kB / 0.6699 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.7228, allocations: 275.7 kB / 0.6701 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/0.7236, allocations: 441.6 kB / 0.6706 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7236, allocations: 0 / 0.6706 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001116/0.7247, allocations: 0.5443 MB / 0.6711 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7248, allocations: 7.938 kB / 0.6711 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7248, allocations: 4.875 kB / 0.6711 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.7264, allocations: 232.8 kB / 0.6713 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.7268, allocations: 103.9 kB / 0.6714 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005311/0.7273, allocations: 0.5887 MB / 0.672 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.7278, allocations: 67.41 kB / 0.6721 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-05/0.7279, allocations: 47.98 kB / 0.6721 GB, free: 2.043 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.0003048/0.7282, allocations: 185.7 kB / 0.6723 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.7284, allocations: 51.44 kB / 0.6723 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.7305, allocations: 1.091 MB / 0.6734 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.7305, allocations: 4 kB / 0.6734 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7305, allocations: 0 / 0.6734 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.7306, allocations: 0 / 0.6734 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.7322, allocations: 1.011 MB / 0.6744 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7322, allocations: 0 / 0.6744 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.7324, allocations: 55.91 kB / 0.6745 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003287/0.7357, allocations: 440.3 kB / 0.6749 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.7358, allocations: 8 kB / 0.6749 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000507/0.7363, allocations: 0.603 MB / 0.6755 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7363, allocations: 4.031 kB / 0.6755 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009353/0.7372, allocations: 0.5043 MB / 0.676 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.7376, allocations: 136.3 kB / 0.6761 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.7378, allocations: 9.375 kB / 0.6761 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.7383, allocations: 39.91 kB / 0.6761 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.7385, allocations: 27.91 kB / 0.6762 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.7385, allocations: 19.98 kB / 0.6762 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006489/0.7392, allocations: 394.8 kB / 0.6766 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7392, allocations: 4 kB / 0.6766 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001401/0.7406, allocations: 335.6 kB / 0.6769 GB, free: 12.97 MB / 0.5137 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.002433/0.743, allocations: 1.391 MB / 0.6782 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009286/0.744, allocations: 379.9 kB / 0.6786 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/0.744, allocations: 0 / 0.6786 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.7444, allocations: 165 kB / 0.6788 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.7462, allocations: 350 kB / 0.6791 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007823/0.7541, allocations: 5.1 MB / 0.6841 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.7546, allocations: 0.8596 MB / 0.6849 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001327/0.7559, allocations: 0.559 MB / 0.6855 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.7564, allocations: 219.3 kB / 0.6857 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.7564, allocations: 0 / 0.6857 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2907/1.047, allocations: 22.18 MB / 0.7073 GB, free: 198.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/1.047, allocations: 291 kB / 0.7076 GB, free: 198.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.686, allocations: 4.312 kB / 0.7076 GB, free: 198.1 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