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.001511/0.001511, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001523/0.001523, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2304/0.2304, allocations: 46.93 MB / 360.9 MB, free: 4.277 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.002177/0.002177, allocations: 63.91 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 66.03 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5312/0.8641, allocations: 186.6 MB / 0.7429 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.8679, allocations: 2.143 MB / 0.745 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.8684, allocations: 20.59 kB / 0.745 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007392/0.8691, allocations: 304.7 kB / 0.7453 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.8719, allocations: 1.208 MB / 0.7465 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.8735, allocations: 0.6983 MB / 0.7472 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.8753, allocations: 1.5 MB / 0.7487 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005871/0.8758, allocations: 353.5 kB / 0.749 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000922/0.8768, allocations: 0.5876 MB / 0.7496 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000585/0.8774, allocations: 460.9 kB / 0.75 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.317e-05/0.8774, allocations: 47.44 kB / 0.7501 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.8789, allocations: 0.8144 MB / 0.7508 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.8791, allocations: 154.7 kB / 0.751 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.8794, allocations: 326.4 kB / 0.7513 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.8809, allocations: 1.218 MB / 0.7525 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8809, allocations: 0 / 0.7525 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8809, allocations: 0.6875 kB / 0.7525 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.8809, allocations: 0 / 0.7525 GB, free: 1.617 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.00188/0.8828, allocations: 0.9378 MB / 0.7534 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.8828, allocations: 11.16 kB / 0.7534 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.8829, allocations: 86.58 kB / 0.7535 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009552/0.8839, allocations: 132.3 kB / 0.7536 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008043/0.8847, allocations: 419.3 kB / 0.754 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.8847, allocations: 28.41 kB / 0.7541 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.8848, allocations: 41.22 kB / 0.7541 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.8857, allocations: 0.549 MB / 0.7546 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.8857, allocations: 4.344 kB / 0.7546 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.8858, allocations: 17.22 kB / 0.7547 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.8858, allocations: 10.34 kB / 0.7547 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.8865, allocations: 412 kB / 0.7551 GB, free: 16.7 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.002807/0.8893, allocations: 2.525 MB / 0.7575 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.8899, allocations: 282.1 kB / 0.7578 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.8902, allocations: 136.1 kB / 0.7579 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.8904, allocations: 46.36 kB / 0.758 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.8904, allocations: 40.91 kB / 0.758 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 3.046e-06/0.8904, allocations: 0.7812 kB / 0.758 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002125/0.8925, allocations: 0.6272 MB / 0.7586 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.8927, allocations: 132.6 kB / 0.7587 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.8931, allocations: 459.5 kB / 0.7592 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.8932, allocations: 29.02 kB / 0.7592 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.8933, allocations: 276.3 kB / 0.7595 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.8934, allocations: 106.5 kB / 0.7596 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.8935, allocations: 108.5 kB / 0.7597 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000248/0.8938, allocations: 360.7 kB / 0.76 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.8941, allocations: 143.1 kB / 0.7602 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.8945, allocations: 271.6 kB / 0.7604 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007035/0.8952, allocations: 422.9 kB / 0.7608 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8952, allocations: 4.125 kB / 0.7608 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00103/0.8962, allocations: 0.5322 MB / 0.7613 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8963, allocations: 6.875 kB / 0.7614 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.8963, allocations: 4 kB / 0.7614 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.8982, allocations: 270.9 kB / 0.7616 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.8985, allocations: 101.9 kB / 0.7617 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009276/0.8995, allocations: 0.6084 MB / 0.7623 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.8999, allocations: 51.14 kB / 0.7624 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/0.8999, allocations: 46.69 kB / 0.7624 GB, free: 13.05 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.0002666/0.9002, allocations: 180.2 kB / 0.7626 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.9003, allocations: 52.17 kB / 0.7626 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.9022, allocations: 1.031 MB / 0.7636 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9022, allocations: 2.812 kB / 0.7636 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.9022, allocations: 0 / 0.7636 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.9022, allocations: 5 kB / 0.7636 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.9037, allocations: 0.941 MB / 0.7646 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.9037, allocations: 1.844 kB / 0.7646 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.9039, allocations: 51.14 kB / 0.7646 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.9055, allocations: 258.8 kB / 0.7648 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.9055, allocations: 17.81 kB / 0.7649 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008988/0.9064, allocations: 0.5964 MB / 0.7654 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.9065, allocations: 14.38 kB / 0.7655 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.9076, allocations: 0.5048 MB / 0.766 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.9077, allocations: 57.52 kB / 0.766 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.485e-05/0.9078, allocations: 16.56 kB / 0.766 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.9082, allocations: 14.8 kB / 0.766 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.9082, allocations: 24.03 kB / 0.7661 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.9083, allocations: 19.84 kB / 0.7661 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004274/0.9087, allocations: 387.8 kB / 0.7665 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.9087, allocations: 1 kB / 0.7665 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007164/0.9094, allocations: 227.9 kB / 0.7667 GB, free: 11.54 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.001941/0.9114, allocations: 1.226 MB / 0.7679 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.9126, allocations: 351.9 kB / 0.7682 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9126, allocations: 2.281 kB / 0.7682 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006695/0.9132, allocations: 157.9 kB / 0.7684 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.9147, allocations: 345.6 kB / 0.7687 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006908/0.9216, allocations: 4.714 MB / 0.7733 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.9221, allocations: 0.8477 MB / 0.7741 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009248/0.923, allocations: 0.546 MB / 0.7746 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.9233, allocations: 219 kB / 0.7749 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.9233, allocations: 2.094 kB / 0.7749 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0555/0.9788, allocations: 19.76 MB / 0.7942 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.63, allocations: 18.42 kB / 0.7942 GB, free: 2.715 MB / 0.5762 GB " [Timeout remaining time 645] (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: 17.64410702115856]