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.001337/0.001337, allocations: 119.5 kB / 18.5 MB, free: 4.539 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.001424/0.001424, allocations: 201.7 kB / 21.45 MB, free: 1.59 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.541/1.541, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2556/0.2556, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.002331/0.002331, allocations: 87.83 kB / 0.4917 GB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1504, allocations: 65.98 MB / 0.5561 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6007/0.7511, allocations: 186.4 MB / 0.7382 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005261/0.7563, allocations: 2.135 MB / 0.7402 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000769/0.7571, allocations: 15.88 kB / 0.7403 GB, free: 5.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.7583, allocations: 301.9 kB / 0.7405 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.7622, allocations: 1.197 MB / 0.7417 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.7643, allocations: 0.6715 MB / 0.7424 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002308/0.7666, allocations: 1.492 MB / 0.7438 GB, free: 1.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006709/0.7673, allocations: 367.9 kB / 0.7442 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.7683, allocations: 0.5799 MB / 0.7447 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006341/0.769, allocations: 466.1 kB / 0.7452 GB, free: 48 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.7691, allocations: 48 kB / 0.7452 GB, free: 0 / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.7712, allocations: 0.8114 MB / 0.746 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.7714, allocations: 151.4 kB / 0.7462 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.7717, allocations: 326.5 kB / 0.7465 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.7738, allocations: 1.215 MB / 0.7477 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.7738, allocations: 0 / 0.7477 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7738, allocations: 0 / 0.7477 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.7738, allocations: 0 / 0.7477 GB, free: 13.5 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.002158/0.776, allocations: 1.012 MB / 0.7487 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.776, allocations: 8.031 kB / 0.7487 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.7771, allocations: 135.5 kB / 0.7488 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.7781, allocations: 472.7 kB / 0.7492 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.7781, allocations: 33 kB / 0.7493 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.7782, allocations: 40 kB / 0.7493 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.7795, allocations: 0.5515 MB / 0.7499 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.7795, allocations: 0 / 0.7499 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.7796, allocations: 16 kB / 0.7499 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.7796, allocations: 12 kB / 0.7499 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/0.7805, allocations: 411.6 kB / 0.7503 GB, free: 10.7 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.003553/0.784, allocations: 2.577 MB / 0.7528 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/0.7847, allocations: 272.2 kB / 0.753 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.785, allocations: 136.9 kB / 0.7532 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003952/0.7854, allocations: 352.4 kB / 0.7535 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.7855, allocations: 42.5 kB / 0.7536 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.7855, allocations: 0 / 0.7536 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002581/0.788, allocations: 0.7059 MB / 0.7542 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/0.7881, allocations: 128.5 kB / 0.7544 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.7887, allocations: 445.9 kB / 0.7548 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/0.7887, allocations: 29.7 kB / 0.7548 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.7891, allocations: 280.1 kB / 0.7551 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.7892, allocations: 115.1 kB / 0.7552 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.7894, allocations: 105.6 kB / 0.7553 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.7896, allocations: 362.8 kB / 0.7556 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.79, allocations: 143.9 kB / 0.7558 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.7906, allocations: 276.3 kB / 0.756 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009752/0.7915, allocations: 417.6 kB / 0.7564 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.7915, allocations: 4 kB / 0.7564 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001439/0.793, allocations: 0.5289 MB / 0.757 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.793, allocations: 9.719 kB / 0.757 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.793, allocations: 7.938 kB / 0.757 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/0.7951, allocations: 276.8 kB / 0.7572 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.7955, allocations: 99.88 kB / 0.7573 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.7966, allocations: 0.603 MB / 0.7579 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.7971, allocations: 51.73 kB / 0.758 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.499e-05/0.7972, allocations: 47.97 kB / 0.758 GB, free: 2.223 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.0003233/0.7975, allocations: 181.6 kB / 0.7582 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.7976, allocations: 55.67 kB / 0.7583 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.7998, allocations: 1.016 MB / 0.7592 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7998, allocations: 4 kB / 0.7592 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7999, allocations: 0 / 0.7592 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.7999, allocations: 0 / 0.7592 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.8018, allocations: 0.9819 MB / 0.7602 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.8018, allocations: 0 / 0.7602 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.802, allocations: 51.89 kB / 0.7603 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.8037, allocations: 256.6 kB / 0.7605 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.8038, allocations: 19.92 kB / 0.7605 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009443/0.8047, allocations: 0.5953 MB / 0.7611 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8047, allocations: 0 / 0.7611 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.8061, allocations: 0.508 MB / 0.7616 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.8063, allocations: 132.7 kB / 0.7617 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.8064, allocations: 11.94 kB / 0.7617 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.8068, allocations: 19.98 kB / 0.7618 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.8069, allocations: 31.83 kB / 0.7618 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.8069, allocations: 19.98 kB / 0.7618 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006057/0.8075, allocations: 386.8 kB / 0.7622 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8075, allocations: 0 / 0.7622 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008584/0.8084, allocations: 219.6 kB / 0.7624 GB, free: 13.57 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.0008403/0.8092, allocations: 302.9 kB / 0.7627 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.8106, allocations: 356.5 kB / 0.763 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8106, allocations: 0 / 0.763 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007683/0.8114, allocations: 159.7 kB / 0.7632 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.8131, allocations: 346 kB / 0.7635 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.8153, allocations: 0.9108 MB / 0.7644 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.8159, allocations: 0.8511 MB / 0.7652 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001071/0.817, allocations: 0.5497 MB / 0.7657 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.8172, allocations: 91.38 kB / 0.7658 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.8172, allocations: 3.938 kB / 0.7658 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.02637/0.8436, allocations: 14.37 MB / 0.7799 GB, free: 11.71 MB / 0.5919 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.396215718239546]