Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.001095/0.001095, 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.001249/0.001249, allocations: 221.8 kB / 22.25 MB, free: 3.559 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.9219/0.9219, allocations: 230.6 MB / 256 MB, free: 9.586 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.05987/0.05987, allocations: 11.33 MB / 323.8 MB, free: 6.77 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.VariableRestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple",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.0009296/0.0009296, allocations: 75.88 kB / 450.7 MB, free: 35.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06626/0.06719, allocations: 55.95 MB / 0.4948 GB, free: 11.67 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002665/0.06985, allocations: 2.329 MB / 0.4971 GB, free: 9.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.07183, allocations: 2.181 MB / 0.4992 GB, free: 7.137 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.07192, allocations: 0 / 0.4992 GB, free: 7.137 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.07221, allocations: 87.45 kB / 0.4993 GB, free: 7.051 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.07261, allocations: 167.1 kB / 0.4995 GB, free: 6.887 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.07318, allocations: 441.4 kB / 0.4999 GB, free: 6.457 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.07343, allocations: 266.8 kB / 0.5001 GB, free: 6.195 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.07354, allocations: 24.59 kB / 0.5002 GB, free: 6.168 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.0737, allocations: 107.6 kB / 0.5003 GB, free: 6.062 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.07383, allocations: 111.4 kB / 0.5004 GB, free: 5.953 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.07385, allocations: 12 kB / 0.5004 GB, free: 5.941 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.07408, allocations: 207.8 kB / 0.5006 GB, free: 5.738 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.07415, allocations: 47.78 kB / 0.5006 GB, free: 5.691 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.07421, allocations: 79.55 kB / 0.5007 GB, free: 5.613 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.07461, allocations: 378.6 kB / 0.5011 GB, free: 5.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.07461, allocations: 0 / 0.5011 GB, free: 5.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.07461, allocations: 0 / 0.5011 GB, free: 5.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.07462, allocations: 0 / 0.5011 GB, free: 5.242 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005377/0.07515, allocations: 0.4965 MB / 0.5015 GB, free: 4.715 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.07519, allocations: 15.98 kB / 0.5016 GB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.07522, allocations: 46.73 kB / 0.5016 GB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.07526, allocations: 24.8 kB / 0.5016 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.07549, allocations: 212.6 kB / 0.5018 GB, free: 4.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.07551, allocations: 12 kB / 0.5018 GB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.07552, allocations: 12 kB / 0.5019 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.07574, allocations: 149.6 kB / 0.502 GB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.07574, allocations: 7.969 kB / 0.502 GB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.07576, allocations: 12 kB / 0.502 GB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.07576, allocations: 4 kB / 0.502 GB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.07597, allocations: 147.8 kB / 0.5022 GB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.07662, allocations: 491.3 kB / 0.5026 GB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.07678, allocations: 98.64 kB / 0.5027 GB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/0.07686, allocations: 56.77 kB / 0.5028 GB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.07689, allocations: 12 kB / 0.5028 GB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.07691, allocations: 30.56 kB / 0.5028 GB, free: 3.305 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.07691, allocations: 0 / 0.5028 GB, free: 3.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.00082/0.07773, allocations: 412.9 kB / 0.5032 GB, free: 2.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.07775, allocations: 51.41 kB / 0.5033 GB, free: 2.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.07796, allocations: 289.8 kB / 0.5035 GB, free: 2.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.07797, allocations: 33.7 kB / 0.5036 GB, free: 2.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.07804, allocations: 156.2 kB / 0.5037 GB, free: 2.344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.07807, allocations: 39.62 kB / 0.5038 GB, free: 2.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.07811, allocations: 37.64 kB / 0.5038 GB, free: 2.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.07818, allocations: 326.8 kB / 0.5041 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.07829, allocations: 63.94 kB / 0.5042 GB, free: 1.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.07841, allocations: 92.25 kB / 0.5043 GB, free: 1.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.07862, allocations: 160.1 kB / 0.5044 GB, free: 1.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.07862, allocations: 0 / 0.5044 GB, free: 1.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002717/0.07889, allocations: 217.3 kB / 0.5046 GB, free: 1.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.0789, allocations: 8 kB / 0.5046 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.07891, allocations: 0 / 0.5046 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.07892, allocations: 4 kB / 0.5046 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.07904, allocations: 35.97 kB / 0.5047 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.07905, allocations: 7.938 kB / 0.5047 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.07912, allocations: 16.11 kB / 0.5047 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.07913, allocations: 15.92 kB / 0.5047 GB, free: 1.289 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.073e-05/0.07921, allocations: 129.8 kB / 0.5048 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.07924, allocations: 27.81 kB / 0.5048 GB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.07954, allocations: 205.4 kB / 0.505 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.07954, allocations: 0 / 0.505 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.07955, allocations: 3.938 kB / 0.505 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.07955, allocations: 7.984 kB / 0.5051 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.07995, allocations: 451.2 kB / 0.5055 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.07996, allocations: 4 kB / 0.5055 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.641e-05/0.08002, allocations: 31.98 kB / 0.5055 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.08003, allocations: 3.938 kB / 0.5055 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.08004, allocations: 11.98 kB / 0.5055 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.08004, allocations: 4 kB / 0.5055 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.08004, allocations: 0 / 0.5055 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.08028, allocations: 272.9 kB / 0.5058 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.08032, allocations: 31.83 kB / 0.5058 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.08034, allocations: 7.953 kB / 0.5058 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.08042, allocations: 15.98 kB / 0.5059 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.08046, allocations: 8.047 kB / 0.5059 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.08047, allocations: 4 kB / 0.5059 GB, free: 15.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.08061, allocations: 223 kB / 0.5061 GB, free: 15.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08061, allocations: 0 / 0.5061 GB, free: 15.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.08086, allocations: 87.73 kB / 0.5062 GB, free: 15.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.001021/0.08188, allocations: 1.148 MB / 0.5073 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.08213, allocations: 139.8 kB / 0.5074 GB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.08213, allocations: 0 / 0.5074 GB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.08223, allocations: 56.27 kB / 0.5075 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.08252, allocations: 65.03 kB / 0.5075 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.0845, allocations: 2.444 MB / 0.5099 GB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.376e-05/0.08459, allocations: 132.7 kB / 0.51 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.003e-05/0.08467, allocations: 29.89 kB / 0.5101 GB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.08475, allocations: 71.41 kB / 0.5101 GB, free: 11.6 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.08475, allocations: 0 / 0.5101 GB, free: 11.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07883/0.1636, allocations: 7.386 MB / 0.5174 GB, free: 4.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.853, allocations: 3.859 kB / 0.5174 GB, free: 4.316 MB / 378.7 MB " [Timeout remaining time 653] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple_fmpy_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_VariableRestrictionTestSimple.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.019917326048017]