Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001793/0.001793, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002215/0.002215, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.465/1.465, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2357/0.2357, allocations: 46.93 MB / 361.6 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Orifices.ThickEdgedOrifice,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_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,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_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 83.86 kB / 0.4975 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3509, allocations: 66.07 MB / 0.562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.6453/0.9962, allocations: 186.9 MB / 0.7445 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005404/1.002, allocations: 3.292 MB / 0.7477 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/1.003, allocations: 22.83 kB / 0.7477 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/1.004, allocations: 328.4 kB / 0.748 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003965/1.008, allocations: 1.432 MB / 0.7494 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/1.01, allocations: 0.7464 MB / 0.7502 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002145/1.012, allocations: 1.582 MB / 0.7517 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006013/1.013, allocations: 363.7 kB / 0.752 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/1.014, allocations: 0.5969 MB / 0.7526 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006291/1.014, allocations: 486.7 kB / 0.7531 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.076e-05/1.014, allocations: 54.06 kB / 0.7531 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/1.017, allocations: 1.232 MB / 0.7543 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/1.018, allocations: 167 kB / 0.7545 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004555/1.018, allocations: 350.6 kB / 0.7548 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/1.021, allocations: 1.513 MB / 0.7563 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.021, allocations: 0.9688 kB / 0.7563 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/1.021, allocations: 0 / 0.7563 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.021, allocations: 0 / 0.7563 GB, free: 1.562 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002008/1.023, allocations: 1.004 MB / 0.7573 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.023, allocations: 11.47 kB / 0.7573 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/1.024, allocations: 146.9 kB / 0.7575 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/1.024, allocations: 444.4 kB / 0.7579 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/1.024, allocations: 32.28 kB / 0.7579 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/1.025, allocations: 44.45 kB / 0.7579 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/1.026, allocations: 0.5916 MB / 0.7585 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.026, allocations: 0 / 0.7585 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/1.026, allocations: 24.3 kB / 0.7586 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/1.026, allocations: 13.62 kB / 0.7586 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/1.027, allocations: 479.8 kB / 0.759 GB, free: 16.64 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.003417/1.03, allocations: 2.637 MB / 0.7616 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/1.031, allocations: 331 kB / 0.7619 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/1.031, allocations: 160.6 kB / 0.7621 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/1.031, allocations: 52.39 kB / 0.7621 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/1.031, allocations: 42.34 kB / 0.7622 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/1.031, allocations: 0.8125 kB / 0.7622 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001639/1.033, allocations: 0.6556 MB / 0.7628 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.033, allocations: 133.8 kB / 0.7629 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/1.034, allocations: 0.4897 MB / 0.7634 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/1.034, allocations: 32.11 kB / 0.7634 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/1.034, allocations: 287.4 kB / 0.7637 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.498e-05/1.034, allocations: 127.6 kB / 0.7638 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/1.034, allocations: 100.2 kB / 0.7639 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.034, allocations: 364.6 kB / 0.7643 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/1.035, allocations: 153.5 kB / 0.7644 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/1.035, allocations: 281.3 kB / 0.7647 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/1.036, allocations: 440.9 kB / 0.7651 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.036, allocations: 0 / 0.7651 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009474/1.036, allocations: 0.544 MB / 0.7656 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.037, allocations: 6.875 kB / 0.7656 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.037, allocations: 4.281 kB / 0.7656 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.038, allocations: 242.8 kB / 0.7659 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/1.038, allocations: 106 kB / 0.766 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005992/1.039, allocations: 0.5998 MB / 0.7666 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/1.039, allocations: 50.53 kB / 0.7666 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/1.039, allocations: 48 kB / 0.7667 GB, free: 12.97 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 (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.0002779/1.04, allocations: 186.7 kB / 0.7668 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/1.04, allocations: 54.98 kB / 0.7669 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/1.042, allocations: 1.093 MB / 0.768 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/1.042, allocations: 4.812 kB / 0.768 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.042, allocations: 0.9688 kB / 0.768 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.042, allocations: 0 / 0.768 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/1.043, allocations: 1.01 MB / 0.769 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.043, allocations: 0.7812 kB / 0.769 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/1.044, allocations: 53.03 kB / 0.769 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/1.047, allocations: 448 kB / 0.7694 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/1.047, allocations: 9.969 kB / 0.7694 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005382/1.047, allocations: 0.6143 MB / 0.77 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.047, allocations: 3.406 kB / 0.77 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/1.048, allocations: 0.5086 MB / 0.7705 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/1.048, allocations: 64.67 kB / 0.7706 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/1.048, allocations: 17.09 kB / 0.7706 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/1.049, allocations: 18.81 kB / 0.7706 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/1.049, allocations: 28.92 kB / 0.7707 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/1.049, allocations: 19.47 kB / 0.7707 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005078/1.049, allocations: 424.2 kB / 0.7711 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.049, allocations: 0 / 0.7711 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009828/1.05, allocations: 291.4 kB / 0.7714 GB, free: 11.4 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 (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.0007724/1.051, allocations: 366.1 kB / 0.7717 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008414/1.052, allocations: 367.4 kB / 0.7721 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.052, allocations: 0.875 kB / 0.7721 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/1.052, allocations: 155 kB / 0.7722 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/1.054, allocations: 358.7 kB / 0.7726 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/1.055, allocations: 0.9131 MB / 0.7734 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/1.056, allocations: 0.8616 MB / 0.7743 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001023/1.057, allocations: 0.5635 MB / 0.7748 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/1.057, allocations: 87.14 kB / 0.7749 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of SimCode: time 9.51e-07/1.057, allocations: 0.9062 kB / 0.7749 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of Templates: time 0.02909/1.086, allocations: 16.36 MB / 0.7909 GB, free: 6.348 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.527944499626756]