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.001731/0.001731, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00237/0.00237, allocations: 215.4 kB / 23.74 MB, free: 4.656 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2163/0.2163, allocations: 44.92 MB / 358.8 MB, free: 6.297 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.002173/0.002173, allocations: 71.88 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3244, allocations: 65.47 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5824/0.9067, allocations: 186.6 MB / 0.7393 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004057/0.9108, allocations: 2.152 MB / 0.7414 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006919/0.9115, allocations: 21.97 kB / 0.7414 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.9124, allocations: 299.9 kB / 0.7417 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.916, allocations: 1.209 MB / 0.7429 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.9179, allocations: 0.6954 MB / 0.7436 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002184/0.9201, allocations: 1.498 MB / 0.745 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000768/0.9208, allocations: 351 kB / 0.7454 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.922, allocations: 0.5923 MB / 0.7459 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009302/0.923, allocations: 459.5 kB / 0.7464 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.9231, allocations: 52.66 kB / 0.7464 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.9252, allocations: 0.819 MB / 0.7472 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.9254, allocations: 153.1 kB / 0.7474 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006591/0.9261, allocations: 329.7 kB / 0.7477 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.9285, allocations: 1.218 MB / 0.7489 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9285, allocations: 3.938 kB / 0.7489 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9285, allocations: 3.625 kB / 0.7489 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.203e-05/0.9286, allocations: 1.094 kB / 0.7489 GB, free: 1.648 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.00265/0.9312, allocations: 0.9285 MB / 0.7498 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.9313, allocations: 14.17 kB / 0.7498 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.9314, allocations: 80.86 kB / 0.7499 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.9326, allocations: 137.3 kB / 0.75 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.9335, allocations: 406.3 kB / 0.7504 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.9336, allocations: 30.69 kB / 0.7504 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.9336, allocations: 37.84 kB / 0.7505 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009897/0.9346, allocations: 0.5491 MB / 0.751 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.9346, allocations: 5.781 kB / 0.751 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.9347, allocations: 20.09 kB / 0.751 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.9347, allocations: 10.12 kB / 0.751 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007616/0.9355, allocations: 409.1 kB / 0.7514 GB, free: 16.75 MB / 0.5762 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.003205/0.9387, allocations: 2.534 MB / 0.7539 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/0.9392, allocations: 275.6 kB / 0.7542 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.9395, allocations: 131.4 kB / 0.7543 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.9397, allocations: 53.11 kB / 0.7543 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.9397, allocations: 44.44 kB / 0.7544 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.235e-06/0.9397, allocations: 0.9688 kB / 0.7544 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002249/0.942, allocations: 0.6257 MB / 0.755 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.9421, allocations: 131.3 kB / 0.7551 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.9425, allocations: 455.4 kB / 0.7555 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.9426, allocations: 29.45 kB / 0.7556 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.9428, allocations: 275.3 kB / 0.7558 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/0.9429, allocations: 107.9 kB / 0.7559 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.943, allocations: 107.9 kB / 0.756 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.9432, allocations: 357 kB / 0.7564 GB, free: 14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.9435, allocations: 143.2 kB / 0.7565 GB, free: 14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.9439, allocations: 278.3 kB / 0.7568 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/0.9447, allocations: 428.8 kB / 0.7572 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.9447, allocations: 3.219 kB / 0.7572 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001168/0.9458, allocations: 0.5215 MB / 0.7577 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9459, allocations: 10.67 kB / 0.7577 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9459, allocations: 3.281 kB / 0.7577 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.9479, allocations: 271.2 kB / 0.758 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.9483, allocations: 107 kB / 0.7581 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009771/0.9493, allocations: 0.6115 MB / 0.7587 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.9497, allocations: 47.73 kB / 0.7587 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/0.9498, allocations: 46.8 kB / 0.7588 GB, free: 13.1 MB / 0.5762 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.000313/0.9501, allocations: 184.4 kB / 0.7589 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.9503, allocations: 54.16 kB / 0.759 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.9521, allocations: 1.03 MB / 0.76 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9521, allocations: 3.594 kB / 0.76 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9521, allocations: 0 / 0.76 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.9521, allocations: 0.875 kB / 0.76 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.9539, allocations: 0.9406 MB / 0.7609 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.9539, allocations: 2.812 kB / 0.7609 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.9541, allocations: 53.17 kB / 0.761 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.9558, allocations: 259 kB / 0.7612 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.9559, allocations: 13.73 kB / 0.7612 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009533/0.9568, allocations: 0.6003 MB / 0.7618 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.9568, allocations: 6.469 kB / 0.7618 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.9581, allocations: 0.503 MB / 0.7623 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.9583, allocations: 58.11 kB / 0.7624 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.9584, allocations: 19.91 kB / 0.7624 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.9588, allocations: 15.34 kB / 0.7624 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.9589, allocations: 22.91 kB / 0.7624 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.9589, allocations: 19.89 kB / 0.7625 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004644/0.9594, allocations: 389.9 kB / 0.7628 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9594, allocations: 0 / 0.7628 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008323/0.9602, allocations: 225 kB / 0.763 GB, free: 11.58 MB / 0.5762 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.002158/0.9624, allocations: 1.23 MB / 0.7642 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.9637, allocations: 356.7 kB / 0.7646 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9637, allocations: 0.9688 kB / 0.7646 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.9644, allocations: 152.8 kB / 0.7647 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.966, allocations: 354.2 kB / 0.7651 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007982/0.974, allocations: 4.717 MB / 0.7697 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.9745, allocations: 0.8449 MB / 0.7705 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001247/0.9758, allocations: 0.5452 MB / 0.771 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/0.9762, allocations: 221.4 kB / 0.7712 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/0.9762, allocations: 2.719 kB / 0.7712 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05575/1.032, allocations: 19.76 MB / 0.7905 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/15.04, allocations: 6.812 kB / 0.7905 GB, free: 3.152 MB / 0.5762 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: 18.117833289084956]