Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001321/0.001321, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001571/0.001571, allocations: 210.5 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.93 MB / 358.8 MB, free: 6.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 71.88 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3369, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2059/0.5428, allocations: 161.5 MB / 0.7147 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004303/0.5471, allocations: 2.041 MB / 0.7167 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006042/0.5477, allocations: 23.81 kB / 0.7167 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.5487, allocations: 290 kB / 0.717 GB, free: 3.039 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.5524, allocations: 1.203 MB / 0.7182 GB, free: 1.836 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.5543, allocations: 0.6927 MB / 0.7189 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.5565, allocations: 1.496 MB / 0.7203 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008059/0.5573, allocations: 351.8 kB / 0.7207 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.5587, allocations: 0.5916 MB / 0.7212 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009377/0.5596, allocations: 442.1 kB / 0.7217 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.5598, allocations: 48 kB / 0.7217 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.5615, allocations: 0.6787 MB / 0.7224 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.5617, allocations: 155.4 kB / 0.7225 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003622/0.5621, allocations: 278.8 kB / 0.7228 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.5638, allocations: 1.199 MB / 0.7239 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5638, allocations: 0 / 0.7239 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5638, allocations: 0 / 0.7239 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.5638, allocations: 0 / 0.7239 GB, free: 11.91 MB / 0.5606 GB 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.001846/0.5656, allocations: 0.9403 MB / 0.7249 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5657, allocations: 8.031 kB / 0.7249 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.5658, allocations: 82.52 kB / 0.7249 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000948/0.5667, allocations: 131.5 kB / 0.7251 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008349/0.5676, allocations: 393.7 kB / 0.7254 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.5676, allocations: 33 kB / 0.7255 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.5677, allocations: 47.94 kB / 0.7255 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.5689, allocations: 0.8528 MB / 0.7264 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.5689, allocations: 7.938 kB / 0.7264 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.569, allocations: 19.94 kB / 0.7264 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.569, allocations: 12 kB / 0.7264 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.5699, allocations: 403.6 kB / 0.7268 GB, free: 8.824 MB / 0.5606 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.002995/0.5729, allocations: 1.88 MB / 0.7286 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.5736, allocations: 274.8 kB / 0.7289 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.5738, allocations: 132.8 kB / 0.729 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.5741, allocations: 51.89 kB / 0.7291 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.5741, allocations: 38.56 kB / 0.7291 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/0.5741, allocations: 0 / 0.7291 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002379/0.5765, allocations: 0.6306 MB / 0.7297 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.5766, allocations: 132.5 kB / 0.7298 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.5771, allocations: 453.8 kB / 0.7303 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.5772, allocations: 29.7 kB / 0.7303 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.5774, allocations: 284.2 kB / 0.7306 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.5775, allocations: 103.2 kB / 0.7307 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.5777, allocations: 105.6 kB / 0.7308 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5779, allocations: 358.8 kB / 0.7311 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.5783, allocations: 139.9 kB / 0.7312 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.5789, allocations: 360.3 kB / 0.7316 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.5798, allocations: 425.6 kB / 0.732 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5798, allocations: 0 / 0.732 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001279/0.5811, allocations: 0.529 MB / 0.7325 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5811, allocations: 11.94 kB / 0.7325 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5811, allocations: 4 kB / 0.7325 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/0.5831, allocations: 272.9 kB / 0.7328 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.5835, allocations: 103.8 kB / 0.7329 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009445/0.5845, allocations: 0.5992 MB / 0.7335 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.5849, allocations: 51.61 kB / 0.7335 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/0.585, allocations: 44.08 kB / 0.7336 GB, free: 1.547 MB / 0.5606 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 (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.0002766/0.5852, allocations: 196.6 kB / 0.7337 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.5854, allocations: 55.66 kB / 0.7338 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.5875, allocations: 1.024 MB / 0.7348 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5875, allocations: 4 kB / 0.7348 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5875, allocations: 4 kB / 0.7348 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.5875, allocations: 7.922 kB / 0.7348 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2279/0.8154, allocations: 0.8683 MB / 0.7357 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.8154, allocations: 1.719 kB / 0.7357 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.8157, allocations: 53.09 kB / 0.7357 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.8175, allocations: 258.9 kB / 0.736 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.8176, allocations: 13.56 kB / 0.736 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008043/0.8184, allocations: 0.6071 MB / 0.7366 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8184, allocations: 1.75 kB / 0.7366 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.8197, allocations: 0.5059 MB / 0.7371 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.8199, allocations: 53.81 kB / 0.7371 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.82, allocations: 15.03 kB / 0.7371 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.8203, allocations: 21.31 kB / 0.7371 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.8204, allocations: 32.94 kB / 0.7372 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.8205, allocations: 20.12 kB / 0.7372 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005503/0.821, allocations: 385.3 kB / 0.7376 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.821, allocations: 0 / 0.7376 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008328/0.8219, allocations: 226.3 kB / 0.7378 GB, free: 177.7 MB / 0.5606 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 (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.00171/0.8236, allocations: 1.228 MB / 0.739 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.8248, allocations: 353.5 kB / 0.7393 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8248, allocations: 3.125 kB / 0.7393 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006414/0.8254, allocations: 150.7 kB / 0.7395 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.8269, allocations: 350.5 kB / 0.7398 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.8327, allocations: 4.698 MB / 0.7444 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.8329, allocations: 251.9 kB / 0.7446 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000813/0.8337, allocations: 0.5519 MB / 0.7452 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.834, allocations: 224.7 kB / 0.7454 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.834, allocations: 0 / 0.7454 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04695/0.8809, allocations: 21.35 MB / 0.7662 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.37, allocations: 0 / 0.7662 GB, free: 150.8 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 17.42177375499159]