Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000798/0.000798, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008348/0.0008348, allocations: 221.2 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8964/0.8964, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.0356/0.0356, allocations: 11.34 MB / 323.8 MB, free: 6.777 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008965/0.0008965, allocations: 63.91 kB / 450.7 MB, free: 35.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06693/0.06783, allocations: 55.96 MB / 0.4948 GB, free: 11.56 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.003245/0.07107, allocations: 3.326 MB / 0.4981 GB, free: 8.207 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.0736, allocations: 2.648 MB / 0.5007 GB, free: 5.551 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.07377, allocations: 11.94 kB / 0.5007 GB, free: 5.539 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.07428, allocations: 438.4 kB / 0.5011 GB, free: 5.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.07485, allocations: 0.4938 MB / 0.5016 GB, free: 4.613 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.0756, allocations: 0.6297 MB / 0.5022 GB, free: 3.988 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.07617, allocations: 0.8946 MB / 0.5031 GB, free: 3.086 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.07636, allocations: 109.9 kB / 0.5032 GB, free: 2.973 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.07665, allocations: 374.5 kB / 0.5035 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.077, allocations: 478.2 kB / 0.504 GB, free: 2.137 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.07705, allocations: 44 kB / 0.504 GB, free: 2.094 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.07732, allocations: 243.8 kB / 0.5042 GB, free: 1.855 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.07748, allocations: 243.1 kB / 0.5045 GB, free: 1.617 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.07766, allocations: 329.9 kB / 0.5048 GB, free: 1.293 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.07839, allocations: 1.082 MB / 0.5058 GB, free: 212 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.07839, allocations: 0 / 0.5058 GB, free: 212 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.07839, allocations: 0 / 0.5058 GB, free: 212 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.0784, allocations: 4 kB / 0.5059 GB, free: 208 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001098/0.0795, allocations: 1.196 MB / 0.507 GB, free: 14.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.07953, allocations: 8.031 kB / 0.507 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.07959, allocations: 74.72 kB / 0.5071 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/0.07969, allocations: 116.2 kB / 0.5072 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.08027, allocations: 0.6215 MB / 0.5078 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.08029, allocations: 33 kB / 0.5078 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.08034, allocations: 40 kB / 0.5079 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.08084, allocations: 442.4 kB / 0.5083 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.08085, allocations: 3.938 kB / 0.5083 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.08087, allocations: 16 kB / 0.5083 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.08088, allocations: 8 kB / 0.5083 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.08139, allocations: 463.7 kB / 0.5088 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.08294, allocations: 1.411 MB / 0.5102 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.08342, allocations: 292.9 kB / 0.5104 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.08357, allocations: 112.8 kB / 0.5105 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.0836, allocations: 4 kB / 0.5105 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.08362, allocations: 46.55 kB / 0.5106 GB, free: 11.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.08362, allocations: 0 / 0.5106 GB, free: 11.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005957/0.08421, allocations: 456.7 kB / 0.511 GB, free: 10.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.08424, allocations: 59.34 kB / 0.5111 GB, free: 10.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.08532, allocations: 1.397 MB / 0.5124 GB, free: 9.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.08534, allocations: 29.7 kB / 0.5125 GB, free: 9.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.08559, allocations: 468.8 kB / 0.5129 GB, free: 8.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.08564, allocations: 99.16 kB / 0.513 GB, free: 8.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.08573, allocations: 77.67 kB / 0.5131 GB, free: 8.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.0858, allocations: 321.9 kB / 0.5134 GB, free: 8.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.08597, allocations: 111.9 kB / 0.5135 GB, free: 8.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.08616, allocations: 187.6 kB / 0.5137 GB, free: 7.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.08652, allocations: 323.3 kB / 0.514 GB, free: 7.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.08652, allocations: 4 kB / 0.514 GB, free: 7.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005045/0.08702, allocations: 472.4 kB / 0.5144 GB, free: 7.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.08704, allocations: 4 kB / 0.5144 GB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.08704, allocations: 4 kB / 0.5145 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.08706, allocations: 4 kB / 0.5145 GB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.08726, allocations: 92.12 kB / 0.5145 GB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.08727, allocations: 11.92 kB / 0.5146 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.08743, allocations: 55.55 kB / 0.5146 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.08745, allocations: 20 kB / 0.5146 GB, free: 6.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002344/0.08768, allocations: 297.6 kB / 0.5149 GB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.08776, allocations: 103.3 kB / 0.515 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.0883, allocations: 454.6 kB / 0.5154 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0883, allocations: 4 kB / 0.5154 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.08831, allocations: 0 / 0.5154 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.08831, allocations: 0 / 0.5154 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.08874, allocations: 0.5417 MB / 0.516 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.08874, allocations: 0 / 0.516 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.08891, allocations: 79.95 kB / 0.5161 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.08891, allocations: 0 / 0.5161 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.08892, allocations: 15.92 kB / 0.5161 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.08893, allocations: 3.938 kB / 0.5161 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.08893, allocations: 0 / 0.5161 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.08937, allocations: 0.4885 MB / 0.5165 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.08954, allocations: 147.2 kB / 0.5167 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.08959, allocations: 8 kB / 0.5167 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.08972, allocations: 19.98 kB / 0.5167 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.08976, allocations: 15.97 kB / 0.5167 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.08978, allocations: 15.98 kB / 0.5167 GB, free: 4.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007483/0.09053, allocations: 0.9877 MB / 0.5177 GB, free: 3.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09053, allocations: 0 / 0.5177 GB, free: 3.703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000336/0.09086, allocations: 179.6 kB / 0.5179 GB, free: 3.527 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/0.09216, allocations: 1.362 MB / 0.5192 GB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003904/0.09255, allocations: 288.2 kB / 0.5195 GB, free: 2.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.09255, allocations: 0 / 0.5195 GB, free: 2.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.09272, allocations: 139.8 kB / 0.5196 GB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.09326, allocations: 221.2 kB / 0.5198 GB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006226/0.09948, allocations: 7.655 MB / 0.5273 GB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.09975, allocations: 433.5 kB / 0.5277 GB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.09998, allocations: 161.8 kB / 0.5279 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.1003, allocations: 323.3 kB / 0.5282 GB, free: 8.898 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1003, allocations: 0 / 0.5282 GB, free: 8.898 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/0.2481, allocations: 21.78 MB / 0.5495 GB, free: 3.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.204, allocations: 7.375 kB / 0.5495 GB, free: 3.336 MB / 410.7 MB " [Timeout remaining time 653] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ServoValveMeteringTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.545261803083122]