Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001232/0.001232, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.001255/0.001255, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2722/0.2722, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 69.95 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1683, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6678/0.8362, allocations: 189.8 MB / 0.617 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005514/0.8417, allocations: 2.121 MB / 0.619 GB, free: 252 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.8428, allocations: 13.47 kB / 0.619 GB, free: 248 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.844, allocations: 310.4 kB / 0.6193 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005104/0.8492, allocations: 1.408 MB / 0.6207 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.8518, allocations: 0.6755 MB / 0.6214 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002931/0.8547, allocations: 1.469 MB / 0.6228 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007765/0.8555, allocations: 422.8 kB / 0.6232 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.8568, allocations: 0.5706 MB / 0.6238 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006321/0.8575, allocations: 429.8 kB / 0.6242 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.8576, allocations: 47.91 kB / 0.6242 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.8605, allocations: 1 MB / 0.6252 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.8608, allocations: 156 kB / 0.6253 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.8613, allocations: 329.5 kB / 0.6257 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.8638, allocations: 1.316 MB / 0.6269 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8639, allocations: 0 / 0.6269 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8639, allocations: 4 kB / 0.627 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.8639, allocations: 0 / 0.627 GB, free: 10.82 MB / 446.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.002079/0.866, allocations: 1.025 MB / 0.628 GB, free: 9.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.866, allocations: 12.02 kB / 0.628 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.867, allocations: 135.2 kB / 0.6281 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.8681, allocations: 468.5 kB / 0.6285 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.8682, allocations: 36.98 kB / 0.6286 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.8683, allocations: 47.94 kB / 0.6286 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.8694, allocations: 0.5438 MB / 0.6292 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.8695, allocations: 4 kB / 0.6292 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.8695, allocations: 19.94 kB / 0.6292 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.8696, allocations: 12 kB / 0.6292 GB, free: 8.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008994/0.8705, allocations: 403.6 kB / 0.6296 GB, free: 8.008 MB / 446.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.003363/0.8738, allocations: 2.584 MB / 0.6321 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.8745, allocations: 291.9 kB / 0.6324 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.8748, allocations: 144.9 kB / 0.6325 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.8761, allocations: 1.221 MB / 0.6337 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.8761, allocations: 38.56 kB / 0.6337 GB, free: 3.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.8761, allocations: 0 / 0.6337 GB, free: 3.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.002481/0.8786, allocations: 0.7111 MB / 0.6344 GB, free: 2.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.8787, allocations: 132.5 kB / 0.6346 GB, free: 2.398 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.8794, allocations: 449.9 kB / 0.635 GB, free: 1.945 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.8794, allocations: 29.7 kB / 0.635 GB, free: 1.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.8797, allocations: 267.8 kB / 0.6353 GB, free: 1.645 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.8798, allocations: 102.6 kB / 0.6354 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.88, allocations: 105.5 kB / 0.6355 GB, free: 1.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.8802, allocations: 354.8 kB / 0.6358 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.8806, allocations: 147.9 kB / 0.636 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.8811, allocations: 275.2 kB / 0.6362 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/0.882, allocations: 417.5 kB / 0.6366 GB, free: 160 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.882, allocations: 3.438 kB / 0.6366 GB, free: 160 kB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001321/0.8833, allocations: 0.521 MB / 0.6371 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.8833, allocations: 8 kB / 0.6371 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.8834, allocations: 7.938 kB / 0.6371 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.8854, allocations: 272.8 kB / 0.6374 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.8858, allocations: 95.88 kB / 0.6375 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009705/0.8868, allocations: 0.6107 MB / 0.6381 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.8872, allocations: 47.52 kB / 0.6381 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.524e-05/0.8873, allocations: 43.98 kB / 0.6382 GB, free: 14.52 MB / 462.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.000332/0.8877, allocations: 189.6 kB / 0.6384 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.8878, allocations: 51.44 kB / 0.6384 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.8894, allocations: 0.6678 MB / 0.6391 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8895, allocations: 0 / 0.6391 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8895, allocations: 4 kB / 0.6391 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8895, allocations: 3.984 kB / 0.6391 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.8913, allocations: 0.9789 MB / 0.64 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.8913, allocations: 4 kB / 0.64 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.8915, allocations: 47.95 kB / 0.6401 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/0.8932, allocations: 256.6 kB / 0.6403 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.8933, allocations: 19.92 kB / 0.6403 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009306/0.8942, allocations: 0.5992 MB / 0.6409 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8942, allocations: 0 / 0.6409 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.8955, allocations: 0.5075 MB / 0.6414 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.8957, allocations: 128.5 kB / 0.6415 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.8958, allocations: 19.84 kB / 0.6416 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.8962, allocations: 15.98 kB / 0.6416 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.8963, allocations: 27.91 kB / 0.6416 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.8963, allocations: 23.97 kB / 0.6416 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005398/0.8969, allocations: 382.8 kB / 0.642 GB, free: 10.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8969, allocations: 0 / 0.642 GB, free: 10.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009919/0.8979, allocations: 259.8 kB / 0.6422 GB, free: 10.17 MB / 462.1 MB 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.0009381/0.8988, allocations: 366 kB / 0.6426 GB, free: 9.812 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.9003, allocations: 371.8 kB / 0.6429 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9003, allocations: 0 / 0.6429 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.901, allocations: 160.3 kB / 0.6431 GB, free: 9.293 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.9025, allocations: 360.6 kB / 0.6434 GB, free: 8.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.9049, allocations: 0.8924 MB / 0.6443 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.9054, allocations: 0.851 MB / 0.6451 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007112/0.9061, allocations: 188.9 kB / 0.6453 GB, free: 6.945 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.9064, allocations: 79.39 kB / 0.6454 GB, free: 6.867 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.9064, allocations: 0 / 0.6454 GB, free: 6.867 MB / 462.1 MB Notification: Performance of Templates: time 0.03079/0.9372, allocations: 15.01 MB / 0.6601 GB, free: 7.891 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches