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.001578/0.001578, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002313/0.002313, allocations: 215.7 kB / 22.99 MB, free: 5.578 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.2 MB / 256.2 MB, free: 8.559 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.2675/0.2675, allocations: 46.91 MB / 359.4 MB, free: 4.867 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: 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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 83.86 kB / 0.4947 GB, free: 8.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3803, allocations: 65.99 MB / 0.5591 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6761/1.056, allocations: 186.6 MB / 0.7413 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003896/1.06, allocations: 2.149 MB / 0.7434 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006445/1.061, allocations: 16.91 kB / 0.7435 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009519/1.062, allocations: 309.3 kB / 0.7437 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003169/1.065, allocations: 1.19 MB / 0.7449 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/1.067, allocations: 0.6813 MB / 0.7456 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00173/1.069, allocations: 1.488 MB / 0.747 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004923/1.069, allocations: 355.8 kB / 0.7474 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008428/1.07, allocations: 0.5835 MB / 0.7479 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/1.07, allocations: 466.2 kB / 0.7484 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/1.07, allocations: 47.12 kB / 0.7484 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/1.072, allocations: 0.8027 MB / 0.7492 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/1.072, allocations: 159.5 kB / 0.7494 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/1.073, allocations: 324.8 kB / 0.7497 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/1.074, allocations: 1.211 MB / 0.7509 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.074, allocations: 7.906 kB / 0.7509 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/1.074, allocations: 0 / 0.7509 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.478e-06/1.074, allocations: 4.875 kB / 0.7509 GB, free: 1.605 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.001813/1.076, allocations: 1.005 MB / 0.7518 GB, free: 17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.076, allocations: 11.67 kB / 0.7519 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009383/1.077, allocations: 136.6 kB / 0.752 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/1.078, allocations: 478 kB / 0.7524 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/1.078, allocations: 27.66 kB / 0.7525 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/1.078, allocations: 39.09 kB / 0.7525 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/1.079, allocations: 0.5475 MB / 0.753 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/1.079, allocations: 3.047 kB / 0.753 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/1.079, allocations: 23.53 kB / 0.7531 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/1.079, allocations: 11.38 kB / 0.7531 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007147/1.079, allocations: 404.9 kB / 0.7535 GB, free: 16.58 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.002857/1.082, allocations: 2.581 MB / 0.756 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/1.083, allocations: 272.6 kB / 0.7562 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/1.083, allocations: 135.4 kB / 0.7564 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/1.083, allocations: 357.7 kB / 0.7567 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/1.083, allocations: 41.38 kB / 0.7568 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/1.083, allocations: 0 / 0.7568 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002321/1.086, allocations: 0.7002 MB / 0.7574 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.086, allocations: 133.9 kB / 0.7576 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/1.086, allocations: 449.3 kB / 0.758 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/1.087, allocations: 31.64 kB / 0.758 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/1.087, allocations: 274.5 kB / 0.7583 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.436e-05/1.087, allocations: 105.6 kB / 0.7584 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/1.087, allocations: 108.3 kB / 0.7585 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.087, allocations: 359.4 kB / 0.7588 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/1.088, allocations: 145.2 kB / 0.759 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/1.088, allocations: 272.8 kB / 0.7592 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/1.089, allocations: 430.5 kB / 0.7596 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.089, allocations: 0 / 0.7596 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001127/1.09, allocations: 0.5235 MB / 0.7602 GB, free: 13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.09, allocations: 11.84 kB / 0.7602 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.09, allocations: 5.75 kB / 0.7602 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/1.092, allocations: 267.9 kB / 0.7604 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/1.092, allocations: 103.1 kB / 0.7605 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009548/1.093, allocations: 0.6078 MB / 0.7611 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/1.094, allocations: 46.39 kB / 0.7612 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/1.094, allocations: 52.98 kB / 0.7612 GB, free: 12.44 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.0003184/1.094, allocations: 177.7 kB / 0.7614 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/1.094, allocations: 57.23 kB / 0.7614 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/1.096, allocations: 1.024 MB / 0.7624 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.096, allocations: 5.75 kB / 0.7624 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.096, allocations: 0 / 0.7624 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.096, allocations: 1 kB / 0.7624 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/1.098, allocations: 0.9689 MB / 0.7634 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.098, allocations: 2.75 kB / 0.7634 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/1.098, allocations: 54.47 kB / 0.7634 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/1.1, allocations: 258.3 kB / 0.7637 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/1.1, allocations: 12.38 kB / 0.7637 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009938/1.101, allocations: 0.603 MB / 0.7643 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.101, allocations: 7.75 kB / 0.7643 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.102, allocations: 0.503 MB / 0.7648 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/1.102, allocations: 136.6 kB / 0.7649 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.102, allocations: 23.11 kB / 0.7649 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/1.103, allocations: 17.28 kB / 0.765 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/1.103, allocations: 27.16 kB / 0.765 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/1.103, allocations: 19.09 kB / 0.765 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000459/1.103, allocations: 388.7 kB / 0.7654 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.103, allocations: 0.9062 kB / 0.7654 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008591/1.104, allocations: 221.1 kB / 0.7656 GB, free: 10.79 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.0008185/1.105, allocations: 294 kB / 0.7659 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001343/1.106, allocations: 360 kB / 0.7662 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.106, allocations: 6.562 kB / 0.7662 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006589/1.107, allocations: 148.7 kB / 0.7664 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.108, allocations: 346.8 kB / 0.7667 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/1.111, allocations: 0.9172 MB / 0.7676 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/1.111, allocations: 0.8499 MB / 0.7684 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001073/1.112, allocations: 0.542 MB / 0.7689 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/1.112, allocations: 95.86 kB / 0.769 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/1.112, allocations: 0 / 0.769 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of Templates: time 0.02765/1.14, allocations: 14.49 MB / 0.7832 GB, free: 7.145 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/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: 6.560140275396407]