Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001241, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 44.17 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 61.03 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3964/0.5113, allocations: 182.8 MB / 0.6382 GB, free: 9.219 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004269/0.5157, allocations: 2.143 MB / 0.6403 GB, free: 7.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004499/0.5162, allocations: 11.94 kB / 0.6403 GB, free: 7.059 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008726/0.517, allocations: 305.9 kB / 0.6406 GB, free: 6.758 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.5198, allocations: 1.164 MB / 0.6417 GB, free: 5.598 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.5215, allocations: 0.677 MB / 0.6424 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.5232, allocations: 1.488 MB / 0.6439 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005733/0.5238, allocations: 415.5 kB / 0.6443 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.5246, allocations: 0.5682 MB / 0.6448 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.5251, allocations: 430.2 kB / 0.6452 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.457e-05/0.5252, allocations: 48 kB / 0.6453 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.5267, allocations: 0.7957 MB / 0.646 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.5268, allocations: 155.4 kB / 0.6462 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.5272, allocations: 326.5 kB / 0.6465 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.5286, allocations: 1.2 MB / 0.6477 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5286, allocations: 0 / 0.6477 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5286, allocations: 0 / 0.6477 GB, free: 15.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.5286, allocations: 7.875 kB / 0.6477 GB, free: 15.51 MB / 494.1 MB 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.001614/0.5302, allocations: 0.9786 MB / 0.6486 GB, free: 14.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5303, allocations: 8.031 kB / 0.6486 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009991/0.5313, allocations: 143.1 kB / 0.6488 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.532, allocations: 468.5 kB / 0.6492 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.5321, allocations: 29 kB / 0.6493 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.5321, allocations: 44 kB / 0.6493 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/0.5331, allocations: 0.5515 MB / 0.6498 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5331, allocations: 3.938 kB / 0.6498 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.5332, allocations: 16 kB / 0.6499 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.5332, allocations: 12 kB / 0.6499 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/0.534, allocations: 407.6 kB / 0.6503 GB, free: 12.74 MB / 494.1 MB 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.002717/0.5368, allocations: 2.573 MB / 0.6528 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.5374, allocations: 283.7 kB / 0.653 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.5377, allocations: 148.8 kB / 0.6532 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.538, allocations: 356.4 kB / 0.6535 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.5381, allocations: 38.56 kB / 0.6536 GB, free: 9.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.724e-06/0.5381, allocations: 0 / 0.6536 GB, free: 9.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002347/0.5404, allocations: 0.7061 MB / 0.6542 GB, free: 8.312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.5405, allocations: 136.5 kB / 0.6544 GB, free: 8.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.541, allocations: 441.9 kB / 0.6548 GB, free: 7.707 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.5411, allocations: 33.7 kB / 0.6548 GB, free: 7.668 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.5413, allocations: 275.8 kB / 0.6551 GB, free: 7.395 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/0.5414, allocations: 102.5 kB / 0.6552 GB, free: 7.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.5416, allocations: 97.66 kB / 0.6553 GB, free: 7.191 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5417, allocations: 362.8 kB / 0.6556 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.5421, allocations: 143.9 kB / 0.6558 GB, free: 6.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.5426, allocations: 275.2 kB / 0.656 GB, free: 6.363 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/0.5435, allocations: 426.3 kB / 0.6564 GB, free: 5.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5435, allocations: 3.938 kB / 0.6564 GB, free: 5.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001231/0.5447, allocations: 0.5256 MB / 0.657 GB, free: 5.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.5447, allocations: 8 kB / 0.657 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.5448, allocations: 0 / 0.657 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.5468, allocations: 280.8 kB / 0.6572 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.5472, allocations: 103.9 kB / 0.6573 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009385/0.5482, allocations: 0.5992 MB / 0.6579 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.5486, allocations: 51.52 kB / 0.658 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.613e-05/0.5487, allocations: 47.98 kB / 0.658 GB, free: 4.254 MB / 494.1 MB 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.0003024/0.549, allocations: 189.6 kB / 0.6582 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.5491, allocations: 47.44 kB / 0.6582 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.5512, allocations: 1.023 MB / 0.6592 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.5512, allocations: 4 kB / 0.6592 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5512, allocations: 0 / 0.6592 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5512, allocations: 3.984 kB / 0.6592 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.5528, allocations: 0.9634 MB / 0.6602 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5528, allocations: 8.859 kB / 0.6602 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.5531, allocations: 51.91 kB / 0.6602 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.5548, allocations: 256.6 kB / 0.6605 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.5548, allocations: 15.92 kB / 0.6605 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000845/0.5557, allocations: 0.6031 MB / 0.6611 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5557, allocations: 0.6875 kB / 0.6611 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5569, allocations: 0.5116 MB / 0.6616 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.5571, allocations: 136.4 kB / 0.6617 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.5572, allocations: 15.92 kB / 0.6617 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.5576, allocations: 19.98 kB / 0.6618 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.5577, allocations: 27.91 kB / 0.6618 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.5577, allocations: 20.48 kB / 0.6618 GB, free: 188 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005075/0.5582, allocations: 386.8 kB / 0.6622 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5583, allocations: 0 / 0.6622 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008148/0.5591, allocations: 219.8 kB / 0.6624 GB, free: 15.59 MB / 0.4981 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.0006766/0.5598, allocations: 293.7 kB / 0.6627 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.5611, allocations: 372.4 kB / 0.663 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5611, allocations: 0 / 0.663 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.5618, allocations: 165.3 kB / 0.6632 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5633, allocations: 350.8 kB / 0.6635 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.5652, allocations: 0.8922 MB / 0.6644 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5656, allocations: 0.8511 MB / 0.6652 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009077/0.5665, allocations: 0.5439 MB / 0.6657 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.5668, allocations: 87.38 kB / 0.6658 GB, free: 12 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.5668, allocations: 0 / 0.6658 GB, free: 12 MB / 0.4981 GB Notification: Performance of Templates: time 0.02206/0.5889, allocations: 14.12 MB / 0.6796 GB, free: 14.04 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches