Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.0009544/0.0009544, 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.001517/0.001517, allocations: 169.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.9737/0.9737, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.03481/0.03481, allocations: 8.713 MB / 267.9 MB, free: 4.734 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.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 394.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.983e-05, allocations: 6.219 kB / 395 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003097/0.003116, allocations: 2.725 MB / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.005496, allocations: 1.943 MB / 399.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.005624, allocations: 4 kB / 399.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.005868, allocations: 59.44 kB / 399.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.006192, allocations: 162.8 kB / 399.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.006727, allocations: 398.4 kB / 400.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.007062, allocations: 393.9 kB / 400.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.007217, allocations: 65.55 kB / 400.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.007459, allocations: 199.5 kB / 400.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.007628, allocations: 127.6 kB / 401 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.007657, allocations: 20 kB / 401 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.00793, allocations: 239.7 kB / 401.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.007994, allocations: 67.75 kB / 401.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.064e-05/0.008085, allocations: 111.7 kB / 401.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.008573, allocations: 0.4947 MB / 401.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.008576, allocations: 0 / 401.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.008577, allocations: 0 / 401.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.008582, allocations: 0 / 401.9 MB, free: 10.23 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006694/0.009252, allocations: 0.5204 MB / 402.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.009295, allocations: 16.03 kB / 402.5 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.509e-05/0.00935, allocations: 62.67 kB / 402.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.009489, allocations: 40.73 kB / 402.6 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.009752, allocations: 217 kB / 402.8 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.00977, allocations: 24.81 kB / 402.8 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.009806, allocations: 20.38 kB / 402.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.01016, allocations: 304.6 kB / 403.1 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.01018, allocations: 3.938 kB / 403.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.0102, allocations: 12 kB / 403.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01021, allocations: 8 kB / 403.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.01048, allocations: 213.9 kB / 403.3 MB, free: 8.73 MB / 330.7 MB 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.001258/0.01173, allocations: 0.861 MB / 404.2 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.01196, allocations: 146.8 kB / 404.3 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.01206, allocations: 76.7 kB / 404.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-05/0.01213, allocations: 15.98 kB / 404.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.01216, allocations: 30.56 kB / 404.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/0.01216, allocations: 0 / 404.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001346/0.01351, allocations: 0.6596 MB / 405.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01355, allocations: 55.41 kB / 405.2 MB, free: 6.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.01378, allocations: 273.8 kB / 405.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.0138, allocations: 29.7 kB / 405.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.0139, allocations: 156.5 kB / 405.6 MB, free: 6.301 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.01396, allocations: 87.25 kB / 405.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.01402, allocations: 45.94 kB / 405.8 MB, free: 6.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01414, allocations: 334.8 kB / 406.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.01428, allocations: 81.78 kB / 406.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.01445, allocations: 160.5 kB / 406.3 MB, free: 5.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.01471, allocations: 207.3 kB / 406.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01471, allocations: 0 / 406.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003505/0.01506, allocations: 267.8 kB / 406.8 MB, free: 5.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.01508, allocations: 4 kB / 406.8 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01509, allocations: 7.938 kB / 406.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.01511, allocations: 4.156 kB / 406.8 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.01527, allocations: 67.95 kB / 406.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.01528, allocations: 7.938 kB / 406.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.315e-05/0.01536, allocations: 11.98 kB / 406.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.01537, allocations: 15.94 kB / 406.9 MB, free: 4.953 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 28 * 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.0001928/0.01557, allocations: 141.8 kB / 407 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.01561, allocations: 35.73 kB / 407.1 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.016, allocations: 243.7 kB / 407.3 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.016, allocations: 4 kB / 407.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01601, allocations: 0 / 407.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01601, allocations: 0 / 407.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/0.01665, allocations: 0.5609 MB / 407.9 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01666, allocations: 0 / 407.9 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.0168, allocations: 71.94 kB / 408 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.0168, allocations: 0 / 408 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.01682, allocations: 11.98 kB / 408 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01682, allocations: 0 / 408 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01682, allocations: 48 / 408 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.01724, allocations: 407.7 kB / 408.4 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.01731, allocations: 39.83 kB / 408.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.01734, allocations: 11.95 kB / 408.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.01742, allocations: 15.98 kB / 408.4 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.01746, allocations: 15.97 kB / 408.4 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.01748, allocations: 11.94 kB / 408.5 MB, free: 3.312 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.01762, allocations: 197.2 kB / 408.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01762, allocations: 0 / 408.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.01791, allocations: 115.7 kB / 408.8 MB, free: 3.012 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (22): * Single equations (assignments): 22 * 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.000812/0.01872, allocations: 1.02 MB / 409.8 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.01901, allocations: 175.8 kB / 410 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01901, allocations: 0 / 410 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.01912, allocations: 83.03 kB / 410 MB, free: 1.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.01944, allocations: 75.75 kB / 410.1 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1668/0.1863, allocations: 2.828 MB / 412.9 MB, free: 27.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.1864, allocations: 150.2 kB / 413.1 MB, free: 27.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.1866, allocations: 40.88 kB / 413.1 MB, free: 27.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1868, allocations: 90.77 kB / 413.2 MB, free: 27.56 MB / 330.7 MB Notification: Performance of SimCode: time 2.004e-06/0.1868, allocations: 0 / 413.2 MB, free: 27.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09147/0.2782, allocations: 8.995 MB / 422.2 MB, free: 25.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.177, allocations: 20.39 kB / 422.2 MB, free: 25.45 MB / 330.7 MB " [Timeout remaining time 652] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 52.5] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.416698794811964]