Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001952/0.001952, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002512/0.002512, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.92 MB / 360.8 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 83.86 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3683, allocations: 66.08 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5941/0.9623, allocations: 186.6 MB / 0.743 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00399/0.9663, allocations: 2.152 MB / 0.7451 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007396/0.967, allocations: 23.34 kB / 0.7451 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009773/0.968, allocations: 312.5 kB / 0.7454 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.9718, allocations: 1.203 MB / 0.7466 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.9738, allocations: 0.6958 MB / 0.7473 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.9759, allocations: 1.496 MB / 0.7487 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006844/0.9766, allocations: 358.7 kB / 0.7491 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.9778, allocations: 0.5839 MB / 0.7496 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007367/0.9786, allocations: 465 kB / 0.7501 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.9787, allocations: 45.78 kB / 0.7501 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.9805, allocations: 0.8211 MB / 0.7509 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.9807, allocations: 152.8 kB / 0.7511 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.9811, allocations: 329.1 kB / 0.7514 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.9831, allocations: 1.218 MB / 0.7526 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9831, allocations: 2.094 kB / 0.7526 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9831, allocations: 0.875 kB / 0.7526 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.9831, allocations: 0 / 0.7526 GB, free: 1.578 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.002116/0.9852, allocations: 0.9362 MB / 0.7535 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.9853, allocations: 15.36 kB / 0.7535 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.9854, allocations: 81.73 kB / 0.7536 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009753/0.9864, allocations: 135.1 kB / 0.7537 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/0.9872, allocations: 404.1 kB / 0.7541 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.9872, allocations: 26.66 kB / 0.7541 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.9873, allocations: 42.03 kB / 0.7542 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/0.9883, allocations: 0.5514 MB / 0.7547 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.9883, allocations: 3.797 kB / 0.7547 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.9884, allocations: 20.75 kB / 0.7547 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.9884, allocations: 10.28 kB / 0.7547 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.9891, allocations: 410.3 kB / 0.7551 GB, free: 16.67 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.003198/0.9923, allocations: 2.533 MB / 0.7576 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.993, allocations: 277.3 kB / 0.7579 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.9932, allocations: 140.1 kB / 0.758 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/0.9934, allocations: 50.84 kB / 0.7581 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.9935, allocations: 37.38 kB / 0.7581 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/0.9935, allocations: 0.9375 kB / 0.7581 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002309/0.9958, allocations: 0.6273 MB / 0.7587 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.9959, allocations: 135.8 kB / 0.7588 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.9964, allocations: 450.3 kB / 0.7593 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.9965, allocations: 32.95 kB / 0.7593 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.9966, allocations: 273.6 kB / 0.7596 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.891e-05/0.9967, allocations: 107.9 kB / 0.7597 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.9969, allocations: 107.7 kB / 0.7598 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.9971, allocations: 364.2 kB / 0.7601 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.9974, allocations: 143.8 kB / 0.7602 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.9979, allocations: 274.7 kB / 0.7605 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000776/0.9987, allocations: 424.4 kB / 0.7609 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.9987, allocations: 0 / 0.7609 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001236/0.9999, allocations: 0.5276 MB / 0.7614 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.9999, allocations: 4.688 kB / 0.7614 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.9999, allocations: 7.906 kB / 0.7614 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/1.002, allocations: 268.6 kB / 0.7617 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/1.002, allocations: 103.4 kB / 0.7618 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/1.003, allocations: 0.6067 MB / 0.7624 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/1.004, allocations: 48.03 kB / 0.7624 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/1.004, allocations: 49.45 kB / 0.7625 GB, free: 13.02 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.0003228/1.004, allocations: 179 kB / 0.7626 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/1.005, allocations: 54.27 kB / 0.7627 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/1.006, allocations: 1.037 MB / 0.7637 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.007, allocations: 3.406 kB / 0.7637 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.007, allocations: 0 / 0.7637 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.007, allocations: 1 kB / 0.7637 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/1.008, allocations: 0.9461 MB / 0.7646 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.008, allocations: 3.812 kB / 0.7646 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/1.009, allocations: 49.3 kB / 0.7647 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/1.01, allocations: 255.8 kB / 0.7649 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/1.01, allocations: 13.56 kB / 0.7649 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/1.011, allocations: 0.6026 MB / 0.7655 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.011, allocations: 6.25 kB / 0.7655 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/1.013, allocations: 0.5099 MB / 0.766 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/1.013, allocations: 58.36 kB / 0.7661 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.013, allocations: 13.84 kB / 0.7661 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/1.014, allocations: 13.83 kB / 0.7661 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/1.014, allocations: 28.61 kB / 0.7662 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/1.014, allocations: 20.3 kB / 0.7662 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005281/1.014, allocations: 390.4 kB / 0.7665 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.014, allocations: 0 / 0.7665 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009557/1.015, allocations: 228.4 kB / 0.7668 GB, free: 11.5 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.002528/1.018, allocations: 1.219 MB / 0.768 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001479/1.019, allocations: 353.4 kB / 0.7683 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.019, allocations: 2.375 kB / 0.7683 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/1.02, allocations: 155.4 kB / 0.7684 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.022, allocations: 345.3 kB / 0.7688 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007625/1.029, allocations: 4.718 MB / 0.7734 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/1.03, allocations: 0.8487 MB / 0.7742 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001139/1.031, allocations: 0.5435 MB / 0.7747 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/1.031, allocations: 223.8 kB / 0.7749 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/1.031, allocations: 1.062 kB / 0.7749 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05815/1.089, allocations: 19.76 MB / 0.7942 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.98, allocations: 7.094 kB / 0.7942 GB, free: 2.57 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.191698152106255]