Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00167/0.00167, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001421/0.001421, allocations: 213.3 kB / 23.72 MB, free: 4.531 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 46.96 MB / 360.9 MB, free: 4.125 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003178/0.003178, allocations: 67.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3045, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2031/0.5077, allocations: 161.5 MB / 0.7183 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004334/0.512, allocations: 2.034 MB / 0.7203 GB, free: 52 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.5125, allocations: 23.75 kB / 0.7203 GB, free: 28 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.5134, allocations: 289.9 kB / 0.7206 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.5166, allocations: 1.199 MB / 0.7218 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.5186, allocations: 0.6929 MB / 0.7225 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.5207, allocations: 1.508 MB / 0.7239 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006138/0.5213, allocations: 359.8 kB / 0.7243 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009539/0.5223, allocations: 0.5877 MB / 0.7249 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006705/0.5229, allocations: 458.1 kB / 0.7253 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.283e-05/0.523, allocations: 52 kB / 0.7253 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.5246, allocations: 0.71 MB / 0.726 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.5248, allocations: 155.4 kB / 0.7262 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.5251, allocations: 278.8 kB / 0.7265 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.5268, allocations: 1.199 MB / 0.7276 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5268, allocations: 0 / 0.7276 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5268, allocations: 0 / 0.7276 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.5268, allocations: 0 / 0.7276 GB, free: 8.551 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.001874/0.5287, allocations: 0.9325 MB / 0.7285 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.5287, allocations: 8.031 kB / 0.7285 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.5289, allocations: 90.45 kB / 0.7286 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.5299, allocations: 139.5 kB / 0.7288 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008149/0.5307, allocations: 389.8 kB / 0.7291 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.5307, allocations: 29 kB / 0.7292 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.688e-05/0.5308, allocations: 43.94 kB / 0.7292 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.5321, allocations: 0.8566 MB / 0.73 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.5321, allocations: 3.938 kB / 0.73 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.5322, allocations: 20 kB / 0.7301 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5322, allocations: 12 kB / 0.7301 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.5331, allocations: 403.6 kB / 0.7305 GB, free: 5.461 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.003027/0.5361, allocations: 1.883 MB / 0.7323 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.5368, allocations: 270.8 kB / 0.7326 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.5371, allocations: 136.8 kB / 0.7327 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.5373, allocations: 43.97 kB / 0.7327 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.5373, allocations: 38.56 kB / 0.7328 GB, free: 3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.5373, allocations: 0 / 0.7328 GB, free: 3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002585/0.5399, allocations: 0.6306 MB / 0.7334 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.54, allocations: 132.5 kB / 0.7335 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005887/0.5406, allocations: 453.8 kB / 0.7339 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.5407, allocations: 33.7 kB / 0.734 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.5409, allocations: 280.2 kB / 0.7342 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.541, allocations: 103.2 kB / 0.7343 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.5412, allocations: 109.5 kB / 0.7344 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.5414, allocations: 358.8 kB / 0.7348 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.5418, allocations: 143.9 kB / 0.7349 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.5424, allocations: 356.3 kB / 0.7353 GB, free: 304 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2642/0.8066, allocations: 419.2 kB / 0.7357 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.8067, allocations: 1.531 kB / 0.7357 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001704/0.8084, allocations: 0.5282 MB / 0.7362 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.8084, allocations: 17.56 kB / 0.7362 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.8084, allocations: 4.469 kB / 0.7362 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/0.8108, allocations: 266.4 kB / 0.7365 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.8113, allocations: 101.7 kB / 0.7365 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009471/0.8122, allocations: 0.6017 MB / 0.7371 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.8127, allocations: 48.47 kB / 0.7372 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.8129, allocations: 48.22 kB / 0.7372 GB, free: 175.3 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.0003231/0.8132, allocations: 182.8 kB / 0.7374 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.8133, allocations: 55.64 kB / 0.7375 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.8156, allocations: 1.03 MB / 0.7385 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.8156, allocations: 1.719 kB / 0.7385 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8156, allocations: 6.531 kB / 0.7385 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8156, allocations: 1.641 kB / 0.7385 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.8172, allocations: 0.8912 MB / 0.7393 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8172, allocations: 0 / 0.7393 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.8174, allocations: 54.45 kB / 0.7394 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.8192, allocations: 252.9 kB / 0.7396 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.8192, allocations: 13.3 kB / 0.7396 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008338/0.8201, allocations: 0.6009 MB / 0.7402 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8201, allocations: 4.422 kB / 0.7402 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.8213, allocations: 0.5081 MB / 0.7407 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.8214, allocations: 59.8 kB / 0.7408 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.8215, allocations: 11.84 kB / 0.7408 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.8219, allocations: 14.41 kB / 0.7408 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.822, allocations: 35.39 kB / 0.7409 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.822, allocations: 16.11 kB / 0.7409 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000375/0.8224, allocations: 392.7 kB / 0.7412 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8224, allocations: 0 / 0.7412 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000794/0.8232, allocations: 222.2 kB / 0.7415 GB, free: 173.2 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.001846/0.825, allocations: 1.23 MB / 0.7427 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.8263, allocations: 359.1 kB / 0.743 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8263, allocations: 7.125 kB / 0.743 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.8271, allocations: 154 kB / 0.7432 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.8286, allocations: 348.6 kB / 0.7435 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006311/0.8349, allocations: 4.708 MB / 0.7481 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.8351, allocations: 246.3 kB / 0.7483 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009217/0.836, allocations: 0.5454 MB / 0.7488 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.8363, allocations: 223.3 kB / 0.7491 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.8363, allocations: 0 / 0.7491 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04715/0.8835, allocations: 21.45 MB / 0.77 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.8, allocations: 7.859 kB / 0.77 GB, free: 144.3 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 16.877038856997387]