Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.001047/0.001047, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.288/1.288, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007858/0.0007858, allocations: 90.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.3056/0.3056, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 12 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.0935, allocations: 58.84 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3275/0.4211, allocations: 173.3 MB / 0.6487 GB, free: 9.285 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.007284/0.4284, allocations: 5.385 MB / 0.6539 GB, free: 3.891 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006157/0.4291, allocations: 15.88 kB / 0.6539 GB, free: 3.875 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009098/0.43, allocations: 254.3 kB / 0.6542 GB, free: 3.625 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.004149/0.4342, allocations: 1.409 MB / 0.6555 GB, free: 2.219 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.4359, allocations: 0.5983 MB / 0.6561 GB, free: 1.629 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.438, allocations: 1.758 MB / 0.6578 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006594/0.4387, allocations: 365.5 kB / 0.6582 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009449/0.4396, allocations: 0.5175 MB / 0.6587 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006675/0.4403, allocations: 446.2 kB / 0.6591 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.4405, allocations: 32 kB / 0.6592 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.4429, allocations: 1.202 MB / 0.6603 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.4431, allocations: 139.5 kB / 0.6605 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.4435, allocations: 336.4 kB / 0.6608 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.4451, allocations: 1.126 MB / 0.6619 GB, free: 11.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4451, allocations: 0 / 0.6619 GB, free: 11.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.4451, allocations: 0 / 0.6619 GB, free: 11.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.4451, allocations: 3.938 kB / 0.6619 GB, free: 11.71 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.001815/0.4469, allocations: 0.9507 MB / 0.6628 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.447, allocations: 15.97 kB / 0.6628 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.4472, allocations: 82.53 kB / 0.6629 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009362/0.4481, allocations: 143.2 kB / 0.663 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007322/0.4488, allocations: 484.4 kB / 0.6635 GB, free: 9.953 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.4489, allocations: 37 kB / 0.6635 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.4489, allocations: 39.94 kB / 0.6636 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.4501, allocations: 0.5906 MB / 0.6642 GB, free: 9.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.4501, allocations: 0 / 0.6642 GB, free: 9.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.4501, allocations: 27.94 kB / 0.6642 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.4502, allocations: 12 kB / 0.6642 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.4511, allocations: 487.6 kB / 0.6647 GB, free: 8.734 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.003025/0.4541, allocations: 2.701 MB / 0.6673 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.4548, allocations: 343.5 kB / 0.6676 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.4552, allocations: 181.3 kB / 0.6678 GB, free: 5.289 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.4564, allocations: 1.308 MB / 0.6691 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4564, allocations: 42.78 kB / 0.6691 GB, free: 3.707 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.4564, allocations: 0 / 0.6691 GB, free: 3.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.00164/0.4581, allocations: 0.7416 MB / 0.6698 GB, free: 2.938 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.4582, allocations: 136.5 kB / 0.67 GB, free: 2.773 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.4587, allocations: 490.1 kB / 0.6704 GB, free: 2.285 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.4588, allocations: 37.64 kB / 0.6705 GB, free: 2.242 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.459, allocations: 283.8 kB / 0.6707 GB, free: 1.961 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.769e-05/0.4591, allocations: 114.3 kB / 0.6709 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.4591, allocations: 8 kB / 0.6709 GB, free: 1.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4592, allocations: 362.8 kB / 0.6712 GB, free: 1.477 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.4595, allocations: 148.8 kB / 0.6714 GB, free: 1.332 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.4599, allocations: 287.7 kB / 0.6716 GB, free: 1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/0.4606, allocations: 449.5 kB / 0.6721 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4606, allocations: 7.938 kB / 0.6721 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.2129/0.6736, allocations: 0.5391 MB / 0.6726 GB, free: 53.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.6736, allocations: 8.125 kB / 0.6726 GB, free: 53.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.6736, allocations: 3.375 kB / 0.6726 GB, free: 53.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.6753, allocations: 291.7 kB / 0.6729 GB, free: 53.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.6757, allocations: 106.8 kB / 0.673 GB, free: 53.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004293/0.6762, allocations: 0.5969 MB / 0.6736 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.6766, allocations: 64.33 kB / 0.6736 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.6767, allocations: 46.27 kB / 0.6737 GB, free: 53.07 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.0002741/0.677, allocations: 187 kB / 0.6738 GB, free: 52.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6772, allocations: 54.69 kB / 0.6739 GB, free: 52.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.6788, allocations: 0.7395 MB / 0.6746 GB, free: 52.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.6788, allocations: 7.812 kB / 0.6746 GB, free: 52.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6789, allocations: 0.5156 kB / 0.6746 GB, free: 52.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6789, allocations: 1.641 kB / 0.6746 GB, free: 52.85 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.6805, allocations: 1.032 MB / 0.6756 GB, free: 52.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6806, allocations: 1.125 kB / 0.6756 GB, free: 52.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.6808, allocations: 56.62 kB / 0.6757 GB, free: 52.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/0.6841, allocations: 0.5438 MB / 0.6762 GB, free: 52.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.6841, allocations: 10.38 kB / 0.6762 GB, free: 52.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003721/0.6845, allocations: 0.6079 MB / 0.6768 GB, free: 51.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6845, allocations: 3.859 kB / 0.6768 GB, free: 51.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.6855, allocations: 0.5198 MB / 0.6773 GB, free: 51.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.6858, allocations: 163.7 kB / 0.6775 GB, free: 51.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.6859, allocations: 13.47 kB / 0.6775 GB, free: 51.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.6863, allocations: 38.62 kB / 0.6775 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.6864, allocations: 29.86 kB / 0.6776 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.6865, allocations: 17.31 kB / 0.6776 GB, free: 51.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006329/0.6871, allocations: 391.9 kB / 0.678 GB, free: 51.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6871, allocations: 0 / 0.678 GB, free: 51.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001369/0.6885, allocations: 314.2 kB / 0.6783 GB, free: 51.53 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.002215/0.6907, allocations: 1.413 MB / 0.6796 GB, free: 50.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008818/0.6916, allocations: 382.5 kB / 0.68 GB, free: 50.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6917, allocations: 2.031 kB / 0.68 GB, free: 50.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.692, allocations: 169.9 kB / 0.6802 GB, free: 50.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.6935, allocations: 281.8 kB / 0.6804 GB, free: 50.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.6984, allocations: 3.163 MB / 0.6835 GB, free: 49.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.6987, allocations: 0.8584 MB / 0.6844 GB, free: 48.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.6991, allocations: 236.7 kB / 0.6846 GB, free: 48.9 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6991, allocations: 4 kB / 0.6846 GB, free: 48.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.528/5.227, allocations: 14.92 MB / 0.6992 GB, free: 45.84 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches