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.006192/0.006192, allocations: 110 kB / 21.98 MB, free: 5.184 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.001747/0.001747, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.451/1.451, allocations: 230.5 MB / 258.9 MB, free: 7.988 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.2267/0.2267, allocations: 46.93 MB / 362.3 MB, free: 4.199 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.002334/0.002334, allocations: 83.84 kB / 0.4982 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3413, allocations: 66.08 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6009/0.9422, allocations: 186.6 MB / 0.745 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00389/0.946, allocations: 2.153 MB / 0.7471 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.9467, allocations: 24.16 kB / 0.7471 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.9475, allocations: 303.3 kB / 0.7474 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.9508, allocations: 1.203 MB / 0.7486 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.9528, allocations: 0.6965 MB / 0.7493 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.9551, allocations: 1.5 MB / 0.7507 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005584/0.9557, allocations: 355.8 kB / 0.7511 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.9567, allocations: 0.5845 MB / 0.7516 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006957/0.9574, allocations: 463.8 kB / 0.7521 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.908e-05/0.9575, allocations: 48.09 kB / 0.7521 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.9593, allocations: 0.8177 MB / 0.7529 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.9595, allocations: 153.3 kB / 0.7531 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.9599, allocations: 324.9 kB / 0.7534 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.9618, allocations: 1.226 MB / 0.7546 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9618, allocations: 0 / 0.7546 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9618, allocations: 0.9375 kB / 0.7546 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.9618, allocations: 0 / 0.7546 GB, free: 1.59 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.001855/0.9637, allocations: 0.9293 MB / 0.7555 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.9637, allocations: 10.81 kB / 0.7555 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.9647, allocations: 140.1 kB / 0.7556 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.9654, allocations: 401.4 kB / 0.756 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.9654, allocations: 33.97 kB / 0.7561 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.9655, allocations: 35.22 kB / 0.7561 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009236/0.9664, allocations: 0.5587 MB / 0.7566 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.9664, allocations: 6.922 kB / 0.7566 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.9665, allocations: 20.11 kB / 0.7567 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.9665, allocations: 11.12 kB / 0.7567 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007416/0.9673, allocations: 409.6 kB / 0.7571 GB, free: 16.71 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.002949/0.9702, allocations: 2.527 MB / 0.7595 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.9708, allocations: 283.4 kB / 0.7598 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.971, allocations: 134.7 kB / 0.7599 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.9712, allocations: 54.22 kB / 0.76 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.9713, allocations: 40.44 kB / 0.76 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.705e-06/0.9713, allocations: 0.9062 kB / 0.76 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002287/0.9736, allocations: 0.625 MB / 0.7606 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/0.9737, allocations: 134.2 kB / 0.7608 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.9741, allocations: 444.1 kB / 0.7612 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/0.9742, allocations: 33.86 kB / 0.7612 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.9744, allocations: 282.6 kB / 0.7615 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.9744, allocations: 108.1 kB / 0.7616 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.9746, allocations: 106.5 kB / 0.7617 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9747, allocations: 358.9 kB / 0.762 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.9751, allocations: 143.2 kB / 0.7622 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.9755, allocations: 275.3 kB / 0.7624 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/0.9763, allocations: 430 kB / 0.7628 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9763, allocations: 4.344 kB / 0.7628 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001101/0.9774, allocations: 0.5215 MB / 0.7633 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.9774, allocations: 4.875 kB / 0.7634 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9774, allocations: 6.188 kB / 0.7634 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/0.9794, allocations: 267.8 kB / 0.7636 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.9798, allocations: 106.1 kB / 0.7637 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009385/0.9807, allocations: 0.6067 MB / 0.7643 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.9811, allocations: 47.59 kB / 0.7644 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.9812, allocations: 47.83 kB / 0.7644 GB, free: 13.07 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.0002929/0.9815, allocations: 180.6 kB / 0.7646 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.9816, allocations: 55.17 kB / 0.7646 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.9835, allocations: 1.033 MB / 0.7656 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.9835, allocations: 5.938 kB / 0.7656 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9835, allocations: 0 / 0.7656 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.9835, allocations: 4.109 kB / 0.7656 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.9851, allocations: 0.9399 MB / 0.7666 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.9851, allocations: 3.375 kB / 0.7666 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.9853, allocations: 45.77 kB / 0.7666 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/0.987, allocations: 265.8 kB / 0.7669 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.9871, allocations: 14.86 kB / 0.7669 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/0.988, allocations: 0.5999 MB / 0.7675 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.988, allocations: 6.781 kB / 0.7675 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.9893, allocations: 0.505 MB / 0.768 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.9895, allocations: 62.2 kB / 0.768 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.9896, allocations: 15.92 kB / 0.768 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.99, allocations: 17.86 kB / 0.7681 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.9901, allocations: 23.78 kB / 0.7681 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.9901, allocations: 19.88 kB / 0.7681 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004658/0.9906, allocations: 387.9 kB / 0.7685 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9906, allocations: 0 / 0.7685 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000794/0.9914, allocations: 221 kB / 0.7687 GB, free: 11.55 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.0005855/0.9919, allocations: 285.6 kB / 0.7689 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.9932, allocations: 359.9 kB / 0.7693 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.9932, allocations: 0.8125 kB / 0.7693 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.9939, allocations: 149.3 kB / 0.7694 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.9954, allocations: 346.6 kB / 0.7698 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.9976, allocations: 0.944 MB / 0.7707 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.998, allocations: 0.8454 MB / 0.7715 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.9984, allocations: 126 kB / 0.7716 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.9984, allocations: 0 / 0.7716 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of Templates: time 0.01877/1.017, allocations: 13.34 MB / 0.7847 GB, free: 8.328 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/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-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: 10.947567376075312]