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.001225/0.001225, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001331/0.001331, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9699/0.9699, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.0338/0.0338, allocations: 8.702 MB / 267.9 MB, free: 4.742 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: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 394.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.715e-05, allocations: 2.281 kB / 394.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.004364/0.004391, allocations: 2.334 MB / 397.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003979/0.00837, allocations: 2.169 MB / 399.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.008562, allocations: 4 kB / 399.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.009006, allocations: 87.39 kB / 399.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005406/0.009546, allocations: 163 kB / 399.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.01084, allocations: 453.7 kB / 400.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.01132, allocations: 278.6 kB / 400.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.0115, allocations: 28.58 kB / 400.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.0119, allocations: 147.5 kB / 400.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.01209, allocations: 79.73 kB / 400.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.01213, allocations: 12 kB / 400.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.01256, allocations: 211.7 kB / 400.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.01267, allocations: 51.77 kB / 400.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.01276, allocations: 63.78 kB / 401 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.01378, allocations: 398.8 kB / 401.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.01378, allocations: 0 / 401.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.01378, allocations: 4 kB / 401.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.01379, allocations: 0 / 401.4 MB, free: 10.78 MB / 330.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.0009429/0.01473, allocations: 0.4965 MB / 401.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.01479, allocations: 8.031 kB / 401.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.01485, allocations: 42.73 kB / 401.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.01492, allocations: 28.8 kB / 402 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.0153, allocations: 204.8 kB / 402.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.01532, allocations: 12.38 kB / 402.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.01535, allocations: 19.94 kB / 402.2 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.01573, allocations: 153.5 kB / 402.3 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.01575, allocations: 0 / 402.3 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.01577, allocations: 4 kB / 402.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01578, allocations: 7.984 kB / 402.4 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.01613, allocations: 147.9 kB / 402.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.01724, allocations: 0.4915 MB / 403 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.0175, allocations: 102.4 kB / 403.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.01764, allocations: 48.97 kB / 403.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/0.0177, allocations: 8 kB / 403.1 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.01772, allocations: 30.56 kB / 403.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.01773, allocations: 0 / 403.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001333/0.01906, allocations: 412.9 kB / 403.6 MB, free: 8.441 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.0191, allocations: 59.34 kB / 403.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.01941, allocations: 285.9 kB / 403.9 MB, free: 8.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.01943, allocations: 29.7 kB / 403.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.01954, allocations: 156.1 kB / 404.1 MB, free: 7.891 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.01958, allocations: 35.69 kB / 404.1 MB, free: 7.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.01965, allocations: 37.7 kB / 404.2 MB, free: 7.812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01978, allocations: 334.8 kB / 404.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.01994, allocations: 59.94 kB / 404.6 MB, free: 7.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.02012, allocations: 96.25 kB / 404.6 MB, free: 7.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.02046, allocations: 156.1 kB / 404.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02046, allocations: 8 kB / 404.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004276/0.02089, allocations: 209.3 kB / 405 MB, free: 6.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.02091, allocations: 4 kB / 405 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.02092, allocations: 4 kB / 405 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.02093, allocations: 0 / 405 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.02113, allocations: 44.03 kB / 405.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.02114, allocations: 4 kB / 405.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.02127, allocations: 19.97 kB / 405.1 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.02129, allocations: 4 kB / 405.1 MB, free: 6.844 MB / 330.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 0.0001359/0.02143, allocations: 137.8 kB / 405.2 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.02148, allocations: 23.81 kB / 405.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.02197, allocations: 217.4 kB / 405.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.02197, allocations: 4 kB / 405.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.02198, allocations: 0 / 405.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.02198, allocations: 0 / 405.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.02265, allocations: 463.1 kB / 405.9 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.02266, allocations: 0 / 405.9 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.02277, allocations: 35.91 kB / 406 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.02278, allocations: 0 / 406 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.02279, allocations: 8 kB / 406 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.0228, allocations: 3.938 kB / 406 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0228, allocations: 0 / 406 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.0232, allocations: 273 kB / 406.2 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.02327, allocations: 27.89 kB / 406.3 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.0233, allocations: 7.938 kB / 406.3 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.02344, allocations: 23.91 kB / 406.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.0235, allocations: 7.984 kB / 406.3 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.0235, allocations: 0 / 406.3 MB, free: 5.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.02373, allocations: 219.1 kB / 406.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02373, allocations: 0 / 406.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.02413, allocations: 87.75 kB / 406.6 MB, free: 5.238 MB / 330.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.001278/0.0254, allocations: 1.151 MB / 407.7 MB, free: 4.207 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.02568, allocations: 135.7 kB / 407.9 MB, free: 4.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.02569, allocations: 0 / 407.9 MB, free: 4.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.02579, allocations: 68.08 kB / 407.9 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.02611, allocations: 53.97 kB / 408 MB, free: 3.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.02841, allocations: 2.437 MB / 410.4 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.02852, allocations: 132.9 kB / 410.6 MB, free: 1.246 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.799e-05/0.0286, allocations: 30.09 kB / 410.6 MB, free: 1.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.02869, allocations: 68.47 kB / 410.7 MB, free: 1.148 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02869, allocations: 0 / 410.7 MB, free: 1.148 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2557/0.2844, allocations: 7.52 MB / 418.2 MB, free: 27.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.859, allocations: 11.47 kB / 418.2 MB, free: 27.05 MB / 330.7 MB " [Timeout remaining time 652] (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: 10.187776441685855]