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.0008872/0.0008872, 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.0009716/0.0009716, 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.982/0.982, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.03398/0.03398, allocations: 8.713 MB / 267.9 MB, free: 4.738 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 394.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.491e-05, allocations: 6.281 kB / 394.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003087/0.003111, allocations: 2.046 MB / 397 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004141, allocations: 0.5687 MB / 397.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.004266, allocations: 0 / 397.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.3e-05/0.004319, allocations: 11.86 kB / 397.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.004723, allocations: 83.39 kB / 397.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.004844, allocations: 31.95 kB / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.00509, allocations: 159 kB / 397.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.005217, allocations: 21.23 kB / 397.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.005459, allocations: 83.8 kB / 397.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.005565, allocations: 55.81 kB / 398 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.005587, allocations: 8 kB / 398 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.273e-05/0.005649, allocations: 12 kB / 398 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.005673, allocations: 19.92 kB / 398 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.005727, allocations: 43.91 kB / 398.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.005932, allocations: 115.6 kB / 398.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005936, allocations: 0 / 398.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.005939, allocations: 3.984 kB / 398.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.005944, allocations: 0 / 398.2 MB, free: 13.98 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005164/0.006461, allocations: 375.5 kB / 398.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.006509, allocations: 8.031 kB / 398.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.006549, allocations: 42.75 kB / 398.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.006588, allocations: 8.891 kB / 398.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.006842, allocations: 157.4 kB / 398.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.006856, allocations: 8.375 kB / 398.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.00687, allocations: 8.375 kB / 398.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.007094, allocations: 131.6 kB / 398.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.007104, allocations: 0 / 398.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.00712, allocations: 12 kB / 398.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007126, allocations: 0 / 398.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.007286, allocations: 113.5 kB / 399 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.007849, allocations: 355.6 kB / 399.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.008041, allocations: 112.2 kB / 399.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.008127, allocations: 74.47 kB / 399.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.008145, allocations: 7.984 kB / 399.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.008176, allocations: 34.56 kB / 399.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.008178, allocations: 0 / 399.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.001224/0.009402, allocations: 456.2 kB / 400.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.009442, allocations: 89.03 kB / 400.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.009543, allocations: 149 kB / 400.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.009557, allocations: 25.7 kB / 400.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.009605, allocations: 104 kB / 400.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.009637, allocations: 31.7 kB / 400.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.009682, allocations: 29.7 kB / 400.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.009774, allocations: 322.8 kB / 400.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.00988, allocations: 77.66 kB / 400.9 MB, free: 11.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.00999, allocations: 91.31 kB / 401 MB, free: 10.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.01019, allocations: 165.9 kB / 401.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01019, allocations: 0 / 401.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000266/0.01046, allocations: 212.8 kB / 401.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.01049, allocations: 32.67 kB / 401.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.0105, allocations: 7.938 kB / 401.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.01052, allocations: 0 / 401.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.01063, allocations: 27.91 kB / 401.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.01064, allocations: 4 kB / 401.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.0107, allocations: 16.02 kB / 401.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.01071, allocations: 3.984 kB / 401.4 MB, free: 10.46 MB / 330.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 9.046e-05/0.0108, allocations: 147.5 kB / 401.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.01082, allocations: 11.91 kB / 401.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.01116, allocations: 245.6 kB / 401.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01116, allocations: 0 / 401.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.01117, allocations: 8 kB / 401.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01117, allocations: 0 / 401.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.01135, allocations: 176.6 kB / 402 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01135, allocations: 0 / 402 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.01143, allocations: 32.06 kB / 402 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01143, allocations: 3.938 kB / 402 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01144, allocations: 3.938 kB / 402 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01145, allocations: 0 / 402 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.01145, allocations: 4 kB / 402 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.01176, allocations: 318.7 kB / 402.4 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.0118, allocations: 19.94 kB / 402.4 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.01182, allocations: 11.94 kB / 402.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.01189, allocations: 11.98 kB / 402.4 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.01194, allocations: 11.98 kB / 402.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01195, allocations: 0 / 402.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.735e-05/0.01201, allocations: 126 kB / 402.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01201, allocations: 0 / 402.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.0122, allocations: 32 kB / 402.6 MB, free: 9.211 MB / 330.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.0005911/0.01279, allocations: 0.8639 MB / 403.4 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.01311, allocations: 229.9 kB / 403.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01311, allocations: 0 / 403.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01325, allocations: 149 kB / 403.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.01353, allocations: 27.97 kB / 403.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.01541, allocations: 1.947 MB / 405.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.622e-05/0.01548, allocations: 93.81 kB / 405.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.01556, allocations: 21.12 kB / 405.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.01563, allocations: 36.48 kB / 405.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of SimCode: time 1.994e-06/0.01563, allocations: 0 / 405.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09247/0.1081, allocations: 4.463 MB / 410.4 MB, free: 1.332 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.855, allocations: 12.92 kB / 410.4 MB, free: 1.324 MB / 330.7 MB " [Timeout remaining time 652] (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: 10.4024827061221]