Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00126/0.00126, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001369/0.001369, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.512/1.512, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2378/0.2378, allocations: 46.94 MB / 361.4 MB, free: 4.484 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-beta.om/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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 84.14 kB / 0.4972 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3682, allocations: 66.03 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6053/0.9735, allocations: 186.6 MB / 0.7439 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003987/0.9775, allocations: 2.148 MB / 0.746 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006611/0.9781, allocations: 21.75 kB / 0.746 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008811/0.979, allocations: 303 kB / 0.7463 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.9821, allocations: 1.206 MB / 0.7475 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.9838, allocations: 0.6977 MB / 0.7482 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.9855, allocations: 1.499 MB / 0.7497 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.986, allocations: 351.2 kB / 0.75 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008684/0.9868, allocations: 0.5886 MB / 0.7506 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.9873, allocations: 463.2 kB / 0.751 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.9874, allocations: 51.28 kB / 0.7511 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.9891, allocations: 0.8138 MB / 0.7519 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.9892, allocations: 155.9 kB / 0.752 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.9896, allocations: 324.2 kB / 0.7523 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.9911, allocations: 1.218 MB / 0.7535 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9911, allocations: 0 / 0.7535 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9911, allocations: 0.6875 kB / 0.7535 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.9911, allocations: 0 / 0.7535 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.001721/0.9928, allocations: 0.9365 MB / 0.7544 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.9929, allocations: 12.38 kB / 0.7544 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009502/0.9938, allocations: 143.5 kB / 0.7546 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.9945, allocations: 404.4 kB / 0.7549 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.9946, allocations: 28.56 kB / 0.755 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.9946, allocations: 38.06 kB / 0.755 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008756/0.9955, allocations: 0.5564 MB / 0.7556 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.9955, allocations: 0 / 0.7556 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.9956, allocations: 22.19 kB / 0.7556 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.9956, allocations: 11.03 kB / 0.7556 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.9963, allocations: 407.9 kB / 0.756 GB, free: 16.74 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.002821/0.9991, allocations: 2.529 MB / 0.7584 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.9997, allocations: 277.8 kB / 0.7587 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.9999, allocations: 135.8 kB / 0.7588 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/1, allocations: 52.97 kB / 0.7589 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/1, allocations: 45.92 kB / 0.7589 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/1, allocations: 1.156 kB / 0.7589 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002186/1.002, allocations: 0.6279 MB / 0.7595 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/1.002, allocations: 130.7 kB / 0.7597 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/1.003, allocations: 448.2 kB / 0.7601 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/1.003, allocations: 29.33 kB / 0.7601 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/1.003, allocations: 281.2 kB / 0.7604 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/1.003, allocations: 109.6 kB / 0.7605 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/1.003, allocations: 105.7 kB / 0.7606 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.003, allocations: 357 kB / 0.7609 GB, free: 14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/1.004, allocations: 144.2 kB / 0.7611 GB, free: 14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/1.004, allocations: 281.9 kB / 0.7613 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/1.005, allocations: 425.6 kB / 0.7618 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.005, allocations: 3.094 kB / 0.7618 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001046/1.006, allocations: 0.5206 MB / 0.7623 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/1.006, allocations: 7.438 kB / 0.7623 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.006, allocations: 4.156 kB / 0.7623 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/1.008, allocations: 268 kB / 0.7625 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/1.008, allocations: 111 kB / 0.7626 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009176/1.009, allocations: 0.6044 MB / 0.7632 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/1.01, allocations: 43.77 kB / 0.7633 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/1.01, allocations: 46.64 kB / 0.7633 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.0002573/1.01, allocations: 183.7 kB / 0.7635 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/1.01, allocations: 54.73 kB / 0.7635 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/1.012, allocations: 1.038 MB / 0.7646 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.012, allocations: 8.562 kB / 0.7646 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.012, allocations: 0 / 0.7646 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.012, allocations: 4 kB / 0.7646 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/1.013, allocations: 0.941 MB / 0.7655 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.013, allocations: 1 kB / 0.7655 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/1.014, allocations: 50.27 kB / 0.7655 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/1.015, allocations: 255.9 kB / 0.7658 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/1.015, allocations: 17.42 kB / 0.7658 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009095/1.016, allocations: 0.5997 MB / 0.7664 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.016, allocations: 4.75 kB / 0.7664 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.017, allocations: 0.5072 MB / 0.7669 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/1.018, allocations: 59.42 kB / 0.7669 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.018, allocations: 17.23 kB / 0.767 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/1.018, allocations: 18.62 kB / 0.767 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/1.018, allocations: 22.56 kB / 0.767 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/1.018, allocations: 18.05 kB / 0.767 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004159/1.019, allocations: 389.7 kB / 0.7674 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/1.019, allocations: 0.9688 kB / 0.7674 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007802/1.019, allocations: 224 kB / 0.7676 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.0005979/1.02, allocations: 282.7 kB / 0.7679 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001261/1.021, allocations: 362 kB / 0.7682 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.021, allocations: 0.9375 kB / 0.7682 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006631/1.022, allocations: 151.5 kB / 0.7684 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/1.023, allocations: 336 kB / 0.7687 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/1.025, allocations: 0.9129 MB / 0.7696 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/1.026, allocations: 0.8472 MB / 0.7704 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009339/1.027, allocations: 0.5552 MB / 0.7709 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/1.027, allocations: 90.66 kB / 0.771 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/1.027, allocations: 0 / 0.771 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of Templates: time 0.0271/1.054, allocations: 14.59 MB / 0.7853 GB, free: 7.879 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.2751902639865875]