Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.0008177/0.0008177, 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.0008246/0.0008246, 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.9129/0.9129, allocations: 230.6 MB / 256 MB, free: 9.598 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.03674/0.03674, allocations: 11.33 MB / 323.8 MB, free: 6.793 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.RestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple",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.001663/0.001663, allocations: 67.91 kB / 450.7 MB, free: 35.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06977/0.07143, allocations: 55.96 MB / 0.4948 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.002452/0.07389, allocations: 2.038 MB / 0.4968 GB, free: 9.645 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000735/0.07462, allocations: 0.5805 MB / 0.4974 GB, free: 9.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.07469, allocations: 4 kB / 0.4974 GB, free: 9.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.07474, allocations: 11.86 kB / 0.4974 GB, free: 9.047 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.07502, allocations: 75.47 kB / 0.4975 GB, free: 8.973 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.346e-05/0.07512, allocations: 27.95 kB / 0.4975 GB, free: 8.945 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.0753, allocations: 147.2 kB / 0.4976 GB, free: 8.801 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.07541, allocations: 25.5 kB / 0.4976 GB, free: 8.773 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.07555, allocations: 67.78 kB / 0.4977 GB, free: 8.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.07564, allocations: 51.77 kB / 0.4978 GB, free: 8.656 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.07565, allocations: 8 kB / 0.4978 GB, free: 8.648 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.263e-05/0.07571, allocations: 27.94 kB / 0.4978 GB, free: 8.621 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.07574, allocations: 15.92 kB / 0.4978 GB, free: 8.605 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.07578, allocations: 47.8 kB / 0.4979 GB, free: 8.559 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.07595, allocations: 115.5 kB / 0.498 GB, free: 8.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.07596, allocations: 0 / 0.498 GB, free: 8.445 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.07596, allocations: 0 / 0.498 GB, free: 8.445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.07596, allocations: 3.938 kB / 0.498 GB, free: 8.441 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004453/0.07641, allocations: 375.4 kB / 0.4983 GB, free: 8.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.07645, allocations: 15.98 kB / 0.4983 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.07648, allocations: 50.72 kB / 0.4984 GB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.07651, allocations: 8.891 kB / 0.4984 GB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.0767, allocations: 152.2 kB / 0.4985 GB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.07671, allocations: 4.375 kB / 0.4986 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.07672, allocations: 11.94 kB / 0.4986 GB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.07692, allocations: 127.3 kB / 0.4987 GB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.07693, allocations: 0 / 0.4987 GB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.07694, allocations: 8 kB / 0.4987 GB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.07695, allocations: 4 kB / 0.4987 GB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.0771, allocations: 115.8 kB / 0.4988 GB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.07755, allocations: 355.6 kB / 0.4991 GB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.0777, allocations: 112.2 kB / 0.4993 GB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.07778, allocations: 74.53 kB / 0.4993 GB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.07779, allocations: 0 / 0.4993 GB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.07781, allocations: 38.56 kB / 0.4994 GB, free: 6.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.07781, allocations: 0 / 0.4994 GB, free: 6.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008025/0.07862, allocations: 464.1 kB / 0.4998 GB, free: 6.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.07865, allocations: 81.11 kB / 0.4999 GB, free: 6.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.07873, allocations: 149 kB / 0.5 GB, free: 6.125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.07875, allocations: 25.7 kB / 0.5 GB, free: 6.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.07878, allocations: 104.1 kB / 0.5001 GB, free: 5.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.07881, allocations: 31.7 kB / 0.5002 GB, free: 5.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.07885, allocations: 29.7 kB / 0.5002 GB, free: 5.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.07892, allocations: 318.8 kB / 0.5005 GB, free: 5.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.07902, allocations: 73.66 kB / 0.5006 GB, free: 5.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.07912, allocations: 91.31 kB / 0.5007 GB, free: 5.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.07932, allocations: 169 kB / 0.5008 GB, free: 5.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.07932, allocations: 0 / 0.5008 GB, free: 5.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002351/0.07955, allocations: 209.7 kB / 0.501 GB, free: 5.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.07958, allocations: 29.7 kB / 0.5011 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.07958, allocations: 7.969 kB / 0.5011 GB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.07959, allocations: 4 kB / 0.5011 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.0797, allocations: 28 kB / 0.5011 GB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.07971, allocations: 7.938 kB / 0.5011 GB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.07976, allocations: 11.97 kB / 0.5011 GB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.07977, allocations: 8 kB / 0.5011 GB, free: 4.914 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.000109/0.07988, allocations: 143.5 kB / 0.5013 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.0799, allocations: 15.84 kB / 0.5013 GB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.0802, allocations: 249.6 kB / 0.5015 GB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.0802, allocations: 0 / 0.5015 GB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.0802, allocations: 0 / 0.5015 GB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.08021, allocations: 4 kB / 0.5015 GB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.08035, allocations: 172.7 kB / 0.5017 GB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.08035, allocations: 3.938 kB / 0.5017 GB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.08043, allocations: 31.97 kB / 0.5017 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.08044, allocations: 4 kB / 0.5017 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.08044, allocations: 0 / 0.5017 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.08045, allocations: 0 / 0.5017 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.08045, allocations: 0 / 0.5017 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.08071, allocations: 318.7 kB / 0.502 GB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.08076, allocations: 27.88 kB / 0.502 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.08077, allocations: 3.953 kB / 0.5021 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.08084, allocations: 15.98 kB / 0.5021 GB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.08088, allocations: 19.91 kB / 0.5021 GB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.08089, allocations: 4 kB / 0.5021 GB, free: 3.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.08094, allocations: 119.2 kB / 0.5022 GB, free: 3.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08094, allocations: 0 / 0.5022 GB, free: 3.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000177/0.08112, allocations: 28 kB / 0.5022 GB, free: 3.668 MB / 362.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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.0004536/0.08157, allocations: 0.8668 MB / 0.5031 GB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.08184, allocations: 218.7 kB / 0.5033 GB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.08184, allocations: 0 / 0.5033 GB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.08196, allocations: 145 kB / 0.5034 GB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.08219, allocations: 32.05 kB / 0.5035 GB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.08366, allocations: 1.956 MB / 0.5054 GB, free: 260 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.959e-05/0.08372, allocations: 93.48 kB / 0.5055 GB, free: 148 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.261e-05/0.08377, allocations: 21.02 kB / 0.5055 GB, free: 128 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.08383, allocations: 35.42 kB / 0.5055 GB, free: 92 kB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.08383, allocations: 0 / 0.5055 GB, free: 92 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07427/0.1581, allocations: 4.341 MB / 0.5097 GB, free: 11.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.786, allocations: 7.625 kB / 0.5098 GB, free: 11.91 MB / 378.7 MB " [Timeout remaining time 653] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_RestrictionTestSimple.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_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_RestrictionTestSimple.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.902860587462783]