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.001432/0.001432, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001435/0.001434, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.523/1.523, allocations: 222.9 MB / 243 MB, free: 15.12 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.2721/0.2721, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 70.8 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1316, 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.52/0.6517, allocations: 182.8 MB / 0.6382 GB, free: 9.203 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.6558, allocations: 2.147 MB / 0.6403 GB, free: 7.051 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005883/0.6564, allocations: 15.88 kB / 0.6403 GB, free: 7.035 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009092/0.6573, allocations: 294 kB / 0.6406 GB, free: 6.746 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.6608, allocations: 1.172 MB / 0.6417 GB, free: 5.578 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.6625, allocations: 0.6803 MB / 0.6424 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.6645, allocations: 1.477 MB / 0.6439 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006071/0.6651, allocations: 415.5 kB / 0.6443 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008197/0.6659, allocations: 0.5644 MB / 0.6448 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005083/0.6665, allocations: 446.1 kB / 0.6452 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.433e-05/0.6666, allocations: 48 kB / 0.6453 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.6682, allocations: 0.788 MB / 0.646 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.6684, allocations: 155.4 kB / 0.6462 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.6687, allocations: 326.5 kB / 0.6465 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.6704, allocations: 1.204 MB / 0.6477 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6705, allocations: 3.938 kB / 0.6477 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6705, allocations: 0 / 0.6477 GB, free: 15.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.6705, allocations: 0 / 0.6477 GB, free: 15.49 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.00174/0.6722, allocations: 0.9824 MB / 0.6486 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6723, allocations: 12.03 kB / 0.6487 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.6732, allocations: 139.2 kB / 0.6488 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008241/0.6741, allocations: 460.5 kB / 0.6492 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.6741, allocations: 33 kB / 0.6493 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.6742, allocations: 39.94 kB / 0.6493 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.6752, allocations: 0.5554 MB / 0.6498 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.6752, allocations: 0 / 0.6498 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.6753, allocations: 20 kB / 0.6499 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.6753, allocations: 8 kB / 0.6499 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.6761, allocations: 411.6 kB / 0.6503 GB, free: 12.73 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.002798/0.6789, allocations: 2.573 MB / 0.6528 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.6795, allocations: 286.8 kB / 0.653 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.6798, allocations: 144.8 kB / 0.6532 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.6801, allocations: 352.4 kB / 0.6535 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.6802, allocations: 38.56 kB / 0.6536 GB, free: 9.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.6802, allocations: 0 / 0.6536 GB, free: 9.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002361/0.6825, allocations: 0.71 MB / 0.6542 GB, free: 8.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.6826, allocations: 132.5 kB / 0.6544 GB, free: 8.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.6831, allocations: 449.9 kB / 0.6548 GB, free: 7.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.6831, allocations: 29.7 kB / 0.6548 GB, free: 7.652 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.6833, allocations: 271.8 kB / 0.6551 GB, free: 7.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.6835, allocations: 106.5 kB / 0.6552 GB, free: 7.277 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.6836, allocations: 101.6 kB / 0.6553 GB, free: 7.172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.6838, allocations: 358.8 kB / 0.6556 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.6842, allocations: 143.9 kB / 0.6558 GB, free: 6.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.6847, allocations: 279.9 kB / 0.656 GB, free: 6.344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/0.6855, allocations: 422.3 kB / 0.6564 GB, free: 5.887 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6855, allocations: 0 / 0.6564 GB, free: 5.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001222/0.6868, allocations: 0.5327 MB / 0.657 GB, free: 5.344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.6868, allocations: 8 kB / 0.657 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.6868, allocations: 4 kB / 0.657 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.6888, allocations: 280.6 kB / 0.6572 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.6892, allocations: 101.6 kB / 0.6573 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/0.6902, allocations: 0.5992 MB / 0.6579 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.6906, allocations: 47.52 kB / 0.658 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.6907, allocations: 47.97 kB / 0.658 GB, free: 4.238 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.0003281/0.6911, allocations: 185.7 kB / 0.6582 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.6912, allocations: 51.44 kB / 0.6582 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.6932, allocations: 1.028 MB / 0.6592 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6932, allocations: 0 / 0.6592 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.6932, allocations: 0 / 0.6592 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6933, allocations: 4 kB / 0.6592 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.6949, allocations: 0.9672 MB / 0.6602 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.695, allocations: 0 / 0.6602 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.6952, allocations: 51.95 kB / 0.6602 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.6969, allocations: 252.6 kB / 0.6605 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.697, allocations: 15.92 kB / 0.6605 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/0.6979, allocations: 0.6031 MB / 0.6611 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6979, allocations: 4.031 kB / 0.6611 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.6992, allocations: 0.5194 MB / 0.6616 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.6993, allocations: 136.3 kB / 0.6617 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.6995, allocations: 11.94 kB / 0.6617 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.6998, allocations: 15.98 kB / 0.6617 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.6999, allocations: 31.91 kB / 0.6618 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.7, allocations: 19.97 kB / 0.6618 GB, free: 168 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005126/0.7005, allocations: 386.8 kB / 0.6622 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7005, allocations: 0 / 0.6622 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008901/0.7014, allocations: 215.8 kB / 0.6624 GB, free: 15.57 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.0007623/0.7022, allocations: 298.1 kB / 0.6627 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.7036, allocations: 373.2 kB / 0.663 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7036, allocations: 0.875 kB / 0.663 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.7043, allocations: 156.1 kB / 0.6632 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.7058, allocations: 353 kB / 0.6635 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.7078, allocations: 0.8923 MB / 0.6644 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.7083, allocations: 0.8433 MB / 0.6652 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001058/0.7094, allocations: 0.5533 MB / 0.6657 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.7096, allocations: 91.38 kB / 0.6658 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of SimCode: time 1.923e-06/0.7096, allocations: 0 / 0.6658 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.02473/0.7344, allocations: 14.11 MB / 0.6796 GB, free: 14.01 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 cvode -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