Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007705/0.0007705, allocations: 169.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8397/0.8397, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1296/0.1296, allocations: 32.38 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_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_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 4 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.254e-05, allocations: 2.281 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.295/0.2951, allocations: 164.9 MB / 0.5583 GB, free: 2.914 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006464/0.3015, allocations: 5.259 MB / 0.5635 GB, free: 13.64 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005601/0.3021, allocations: 27.81 kB / 0.5635 GB, free: 13.61 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008114/0.3029, allocations: 309.7 kB / 0.5638 GB, free: 13.31 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.3064, allocations: 1.692 MB / 0.5654 GB, free: 11.61 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.308, allocations: 0.7545 MB / 0.5662 GB, free: 10.86 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.3098, allocations: 1.578 MB / 0.5677 GB, free: 9.273 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006397/0.3104, allocations: 364.3 kB / 0.5681 GB, free: 8.914 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.3115, allocations: 0.8064 MB / 0.5688 GB, free: 8.105 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.3121, allocations: 410.8 kB / 0.5692 GB, free: 7.703 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.677e-05/0.3121, allocations: 52 kB / 0.5693 GB, free: 7.652 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.314, allocations: 1.106 MB / 0.5704 GB, free: 6.547 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.3141, allocations: 171.3 kB / 0.5705 GB, free: 6.379 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.3144, allocations: 247.4 kB / 0.5708 GB, free: 6.137 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.3168, allocations: 1.698 MB / 0.5724 GB, free: 4.434 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3168, allocations: 0 / 0.5724 GB, free: 4.434 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3168, allocations: 0 / 0.5724 GB, free: 4.434 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.3168, allocations: 1.312 kB / 0.5724 GB, free: 4.434 MB / 474.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.001897/0.3187, allocations: 1.029 MB / 0.5734 GB, free: 3.371 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3187, allocations: 8.031 kB / 0.5734 GB, free: 3.363 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.158e-05/0.3188, allocations: 86.52 kB / 0.5735 GB, free: 3.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006039/0.3194, allocations: 143.5 kB / 0.5737 GB, free: 3.129 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.3201, allocations: 445.5 kB / 0.5741 GB, free: 2.668 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.3201, allocations: 37 kB / 0.5741 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.3202, allocations: 36 kB / 0.5742 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.321, allocations: 0.8918 MB / 0.575 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.321, allocations: 3.938 kB / 0.575 GB, free: 1.586 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.3211, allocations: 23.94 kB / 0.5751 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3211, allocations: 12 kB / 0.5751 GB, free: 1.551 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.3217, allocations: 491.6 kB / 0.5755 GB, free: 1.074 MB / 474.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.002038/0.3238, allocations: 1.986 MB / 0.5775 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.3243, allocations: 327.4 kB / 0.5778 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.3245, allocations: 153.3 kB / 0.5779 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.325, allocations: 414.8 kB / 0.5783 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3251, allocations: 38.83 kB / 0.5784 GB, free: 14.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.337e-06/0.3251, allocations: 4 kB / 0.5784 GB, free: 14.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001178/0.3263, allocations: 0.6517 MB / 0.579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.3263, allocations: 132.5 kB / 0.5791 GB, free: 13.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.3268, allocations: 0.498 MB / 0.5796 GB, free: 12.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.3268, allocations: 33.7 kB / 0.5796 GB, free: 12.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.3272, allocations: 288.3 kB / 0.5799 GB, free: 12.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.3273, allocations: 119 kB / 0.58 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3274, allocations: 98.17 kB / 0.5801 GB, free: 12.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.3275, allocations: 358.8 kB / 0.5805 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.3277, allocations: 152.9 kB / 0.5806 GB, free: 11.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.3279, allocations: 353.4 kB / 0.581 GB, free: 11.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.3284, allocations: 446.7 kB / 0.5814 GB, free: 10.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3284, allocations: 0 / 0.5814 GB, free: 10.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007249/0.3292, allocations: 0.5488 MB / 0.5819 GB, free: 10.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3292, allocations: 8.062 kB / 0.5819 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3292, allocations: 5.25 kB / 0.5819 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008334/0.33, allocations: 248.5 kB / 0.5822 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.3302, allocations: 103.8 kB / 0.5823 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003573/0.3306, allocations: 0.5915 MB / 0.5828 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.3308, allocations: 47.62 kB / 0.5829 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.3309, allocations: 43.98 kB / 0.5829 GB, free: 9.164 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 (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.0002131/0.3311, allocations: 193.7 kB / 0.5831 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.3312, allocations: 55.67 kB / 0.5832 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009665/0.3321, allocations: 0.7279 MB / 0.5839 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3321, allocations: 4 kB / 0.5839 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3322, allocations: 3.938 kB / 0.5839 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3322, allocations: 7.969 kB / 0.5839 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3332, allocations: 0.9531 MB / 0.5848 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3332, allocations: 0 / 0.5848 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3333, allocations: 56.84 kB / 0.5849 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.3348, allocations: 440.4 kB / 0.5853 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.3349, allocations: 11.98 kB / 0.5853 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004575/0.3353, allocations: 0.6186 MB / 0.5859 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3353, allocations: 0 / 0.5859 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.3361, allocations: 0.5157 MB / 0.5864 GB, free: 5.422 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3362, allocations: 63.55 kB / 0.5865 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.3362, allocations: 11.94 kB / 0.5865 GB, free: 5.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3364, allocations: 15.98 kB / 0.5865 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.3365, allocations: 31.89 kB / 0.5865 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.3365, allocations: 20.06 kB / 0.5866 GB, free: 5.281 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000369/0.3369, allocations: 422.8 kB / 0.587 GB, free: 4.871 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3369, allocations: 0 / 0.587 GB, free: 4.871 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006653/0.3375, allocations: 323.2 kB / 0.5873 GB, free: 4.555 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 (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.001414/0.3389, allocations: 1.415 MB / 0.5886 GB, free: 3.098 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005746/0.3395, allocations: 368 kB / 0.589 GB, free: 2.738 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3395, allocations: 0 / 0.589 GB, free: 2.738 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.3397, allocations: 157 kB / 0.5891 GB, free: 2.586 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3408, allocations: 371.7 kB / 0.5895 GB, free: 2.234 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.3452, allocations: 4.944 MB / 0.5943 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.3453, allocations: 267.4 kB / 0.5946 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004206/0.3458, allocations: 208.9 kB / 0.5948 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.346, allocations: 216.4 kB / 0.595 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.346, allocations: 0 / 0.595 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.3822, allocations: 24.54 MB / 0.619 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.387, allocations: 7.875 kB / 0.619 GB, free: 3.805 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.482585210353136]