Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.0007711/0.0007711, allocations: 80.53 kB / 19.92 MB, free: 4.633 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.0008843/0.0008843, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8487/0.8487, allocations: 158.6 MB / 185 MB, free: 3.043 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.1378/0.1378, allocations: 32.36 MB / 269.6 MB, free: 14.97 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.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 406.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.178e-05, allocations: 10.22 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.303/0.303, allocations: 164.7 MB / 0.5581 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.3064, allocations: 2.041 MB / 0.5601 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.307, allocations: 30 kB / 0.5601 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008508/0.3079, allocations: 290.5 kB / 0.5604 GB, free: 15.28 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004072/0.312, allocations: 1.455 MB / 0.5618 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.3137, allocations: 0.7105 MB / 0.5625 GB, free: 13.93 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.3156, allocations: 1.5 MB / 0.564 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006207/0.3162, allocations: 350.2 kB / 0.5643 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.3174, allocations: 0.7775 MB / 0.5651 GB, free: 12.33 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.318, allocations: 392 kB / 0.5655 GB, free: 12.13 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.912e-05/0.3181, allocations: 55 kB / 0.5655 GB, free: 12.12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.3199, allocations: 0.8743 MB / 0.5664 GB, free: 11.71 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.32, allocations: 154.1 kB / 0.5665 GB, free: 11.6 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.3202, allocations: 241.8 kB / 0.5668 GB, free: 11.49 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.322, allocations: 1.423 MB / 0.5681 GB, free: 10.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.322, allocations: 6.422 kB / 0.5681 GB, free: 10.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.322, allocations: 7.875 kB / 0.5682 GB, free: 10.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.322, allocations: 0 / 0.5682 GB, free: 10.56 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001597/0.3236, allocations: 0.9619 MB / 0.5691 GB, free: 9.836 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3237, allocations: 8.312 kB / 0.5691 GB, free: 9.836 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.416e-05/0.3237, allocations: 82.62 kB / 0.5692 GB, free: 9.762 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005547/0.3243, allocations: 137.7 kB / 0.5693 GB, free: 9.699 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.3249, allocations: 404.5 kB / 0.5697 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.325, allocations: 31.81 kB / 0.5697 GB, free: 9.359 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.325, allocations: 35.41 kB / 0.5698 GB, free: 9.348 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/0.3258, allocations: 0.8516 MB / 0.5706 GB, free: 8.605 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3258, allocations: 3.938 kB / 0.5706 GB, free: 8.602 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.3258, allocations: 25.09 kB / 0.5706 GB, free: 8.582 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3258, allocations: 14.44 kB / 0.5706 GB, free: 8.578 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/0.3264, allocations: 398.5 kB / 0.571 GB, free: 8.398 MB / 458.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.002088/0.3284, allocations: 1.896 MB / 0.5729 GB, free: 6.836 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.3288, allocations: 268.5 kB / 0.5731 GB, free: 6.703 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.329, allocations: 135.5 kB / 0.5733 GB, free: 6.633 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/0.3296, allocations: 406.6 kB / 0.5736 GB, free: 6.473 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3296, allocations: 37.19 kB / 0.5737 GB, free: 6.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.3296, allocations: 0 / 0.5737 GB, free: 6.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=29): time 0.001472/0.3311, allocations: 0.6255 MB / 0.5743 GB, free: 6.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.3311, allocations: 142.7 kB / 0.5744 GB, free: 5.945 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.3316, allocations: 451.3 kB / 0.5749 GB, free: 5.668 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.3316, allocations: 36.23 kB / 0.5749 GB, free: 5.629 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3317, allocations: 269.6 kB / 0.5751 GB, free: 5.391 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.3318, allocations: 106.2 kB / 0.5752 GB, free: 5.301 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3319, allocations: 105.7 kB / 0.5753 GB, free: 5.238 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.332, allocations: 357.6 kB / 0.5757 GB, free: 4.891 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.3323, allocations: 154 kB / 0.5758 GB, free: 4.812 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.3326, allocations: 352.8 kB / 0.5762 GB, free: 4.488 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.3331, allocations: 415.5 kB / 0.5766 GB, free: 4.203 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3331, allocations: 5.312 kB / 0.5766 GB, free: 4.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007152/0.3338, allocations: 0.521 MB / 0.5771 GB, free: 3.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3338, allocations: 5.469 kB / 0.5771 GB, free: 3.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3338, allocations: 5.406 kB / 0.5771 GB, free: 3.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009932/0.3348, allocations: 277.4 kB / 0.5774 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.335, allocations: 106.2 kB / 0.5775 GB, free: 3.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005484/0.3356, allocations: 0.5973 MB / 0.578 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.3358, allocations: 52.03 kB / 0.5781 GB, free: 3.148 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.3358, allocations: 45.36 kB / 0.5781 GB, free: 3.141 MB / 458.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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.336, allocations: 183.4 kB / 0.5783 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.3361, allocations: 55.27 kB / 0.5784 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009811/0.337, allocations: 0.6557 MB / 0.579 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.337, allocations: 3.984 kB / 0.579 GB, free: 2.367 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3371, allocations: 5.125 kB / 0.579 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3371, allocations: 3.984 kB / 0.579 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3381, allocations: 0.8903 MB / 0.5799 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3381, allocations: 5.062 kB / 0.5799 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3382, allocations: 51.89 kB / 0.5799 GB, free: 1.348 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000784/0.339, allocations: 260.6 kB / 0.5802 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.339, allocations: 7.984 kB / 0.5802 GB, free: 1.082 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005003/0.3395, allocations: 0.6076 MB / 0.5808 GB, free: 460 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3395, allocations: 0 / 0.5808 GB, free: 460 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3406, allocations: 0.5081 MB / 0.5813 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.3406, allocations: 59.09 kB / 0.5813 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.3407, allocations: 19.89 kB / 0.5814 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.3408, allocations: 19.92 kB / 0.5814 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.3409, allocations: 31.83 kB / 0.5814 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.3409, allocations: 19.97 kB / 0.5814 GB, free: 15.76 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002927/0.3412, allocations: 386.8 kB / 0.5818 GB, free: 15.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3412, allocations: 0 / 0.5818 GB, free: 15.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005653/0.3418, allocations: 263.4 kB / 0.582 GB, free: 15.12 MB / 474.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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.001396/0.3432, allocations: 1.323 MB / 0.5833 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007626/0.3439, allocations: 359.7 kB / 0.5837 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3439, allocations: 0 / 0.5837 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.3443, allocations: 152.8 kB / 0.5838 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.3451, allocations: 346.2 kB / 0.5842 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.3497, allocations: 4.712 MB / 0.5888 GB, free: 8.035 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.3498, allocations: 246.4 kB / 0.589 GB, free: 7.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004222/0.3503, allocations: 203.7 kB / 0.5892 GB, free: 7.578 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.3505, allocations: 208.4 kB / 0.5894 GB, free: 7.375 MB / 474.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3505, allocations: 0 / 0.5894 GB, free: 7.375 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.3826, allocations: 22.35 MB / 0.6112 GB, free: 1.027 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.431, allocations: 3.938 kB / 0.6112 GB, free: 1.023 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.435391334816813]