Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.Bends.EdgedBend,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.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,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.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 110.1 kB / 17.04 MB, free: 5.812 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.001112/0.001112, allocations: 195 kB / 17.98 MB, free: 5.027 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.796/1.796, 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.232/0.232, allocations: 43.51 MB / 314.7 MB, free: 496 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.002344/0.002344, allocations: 65.97 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1402, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5081/0.6483, allocations: 190 MB / 0.6172 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.6585, allocations: 6.049 MB / 0.6231 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008371/0.6593, allocations: 13.38 kB / 0.6231 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.6606, allocations: 327.2 kB / 0.6234 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005771/0.6664, allocations: 1.942 MB / 0.6253 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.6684, allocations: 0.7131 MB / 0.626 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.6707, allocations: 1.523 MB / 0.6275 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007526/0.6715, allocations: 431.8 kB / 0.6279 GB, free: 9.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.6726, allocations: 0.5805 MB / 0.6285 GB, free: 9.496 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005922/0.6732, allocations: 454.2 kB / 0.6289 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.6733, allocations: 52 kB / 0.6289 GB, free: 9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.6774, allocations: 2.106 MB / 0.631 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.6777, allocations: 159.4 kB / 0.6311 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.6782, allocations: 342.5 kB / 0.6315 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.6816, allocations: 1.913 MB / 0.6333 GB, free: 4.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6816, allocations: 0 / 0.6333 GB, free: 4.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6816, allocations: 0 / 0.6333 GB, free: 4.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.6816, allocations: 3.938 kB / 0.6333 GB, free: 4.477 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002118/0.6837, allocations: 1.114 MB / 0.6344 GB, free: 3.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6838, allocations: 8.031 kB / 0.6344 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.6848, allocations: 139.2 kB / 0.6346 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.6858, allocations: 484.5 kB / 0.635 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.6859, allocations: 29 kB / 0.6351 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.686, allocations: 40 kB / 0.6351 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.6871, allocations: 0.5866 MB / 0.6357 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.6871, allocations: 7.938 kB / 0.6357 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.6872, allocations: 16 kB / 0.6357 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.6872, allocations: 12 kB / 0.6357 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008913/0.6881, allocations: 475.6 kB / 0.6362 GB, free: 1.461 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.00362/0.6917, allocations: 2.67 MB / 0.6388 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.6925, allocations: 339.4 kB / 0.6391 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.6929, allocations: 169.4 kB / 0.6393 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/0.6944, allocations: 1.304 MB / 0.6405 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.6945, allocations: 34.84 kB / 0.6406 GB, free: 12.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.6945, allocations: 0 / 0.6406 GB, free: 12.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001686/0.6962, allocations: 0.7103 MB / 0.6413 GB, free: 11.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.6963, allocations: 140.5 kB / 0.6414 GB, free: 11.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.6968, allocations: 465.9 kB / 0.6418 GB, free: 11.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.6969, allocations: 33.7 kB / 0.6419 GB, free: 11.08 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.6971, allocations: 275.8 kB / 0.6421 GB, free: 10.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.6973, allocations: 114.4 kB / 0.6422 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.6974, allocations: 106 kB / 0.6423 GB, free: 10.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.6976, allocations: 358.8 kB / 0.6427 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.698, allocations: 140.8 kB / 0.6428 GB, free: 10.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.6984, allocations: 280.6 kB / 0.6431 GB, free: 9.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.6992, allocations: 441.6 kB / 0.6435 GB, free: 9.289 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.6992, allocations: 0 / 0.6435 GB, free: 9.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009842/0.7002, allocations: 0.5209 MB / 0.644 GB, free: 8.758 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.7003, allocations: 16.97 kB / 0.644 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.7003, allocations: 4.438 kB / 0.644 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.7018, allocations: 240.5 kB / 0.6443 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.7022, allocations: 111.8 kB / 0.6444 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004536/0.7026, allocations: 0.5896 MB / 0.6449 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.703, allocations: 47.52 kB / 0.645 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/0.703, allocations: 47.98 kB / 0.645 GB, free: 7.684 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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0002608/0.7033, allocations: 193.6 kB / 0.6452 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.7034, allocations: 51.44 kB / 0.6453 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.7049, allocations: 0.7049 MB / 0.646 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7049, allocations: 7.938 kB / 0.646 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7049, allocations: 4 kB / 0.646 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7049, allocations: 0 / 0.646 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.7064, allocations: 1.016 MB / 0.647 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.7064, allocations: 0 / 0.647 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.7066, allocations: 55.91 kB / 0.647 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.7096, allocations: 440.3 kB / 0.6474 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.7096, allocations: 8 kB / 0.6474 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004385/0.7101, allocations: 0.5954 MB / 0.648 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7101, allocations: 3.938 kB / 0.648 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.7109, allocations: 0.5082 MB / 0.6485 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.7111, allocations: 132.4 kB / 0.6486 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.294e-05/0.7112, allocations: 15.84 kB / 0.6487 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.7115, allocations: 19.98 kB / 0.6487 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.7116, allocations: 27.84 kB / 0.6487 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.7116, allocations: 19.98 kB / 0.6487 GB, free: 3.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004725/0.7121, allocations: 406.8 kB / 0.6491 GB, free: 3.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7121, allocations: 0 / 0.6491 GB, free: 3.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009737/0.7131, allocations: 359.7 kB / 0.6495 GB, free: 2.969 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 (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/0.7142, allocations: 0.5063 MB / 0.65 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008218/0.7151, allocations: 380.1 kB / 0.6503 GB, free: 2.094 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7151, allocations: 0 / 0.6503 GB, free: 2.094 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.7154, allocations: 169 kB / 0.6505 GB, free: 1.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.717, allocations: 370.2 kB / 0.6508 GB, free: 1.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.7184, allocations: 0.8731 MB / 0.6517 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.7189, allocations: 0.8595 MB / 0.6525 GB, free: 15.76 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006344/0.7195, allocations: 205 kB / 0.6527 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.7197, allocations: 71.42 kB / 0.6528 GB, free: 15.49 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.7197, allocations: 0 / 0.6528 GB, free: 15.49 MB / 478.1 MB Notification: Performance of Templates: time 0.02942/0.7492, allocations: 18.29 MB / 0.6706 GB, free: 13.23 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches