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.0008573/0.0008573, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009251/0.0009251, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9254/0.9254, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.03405/0.03405, allocations: 8.715 MB / 269 MB, free: 4.371 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: translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 341.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.359e-05, allocations: 9.266 kB / 341.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.001739/0.001752, allocations: 2.148 MB / 343.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005628/0.002315, allocations: 0.5883 MB / 344 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.002382, allocations: 7.938 kB / 344.1 MB, free: 5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.002418, allocations: 15.84 kB / 344.1 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.002641, allocations: 79.34 kB / 344.1 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.501e-05/0.002716, allocations: 31.95 kB / 344.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.002847, allocations: 159 kB / 344.3 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.303e-05/0.00292, allocations: 17.31 kB / 344.3 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.003044, allocations: 87.78 kB / 344.4 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.003106, allocations: 51.83 kB / 344.5 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.003121, allocations: 8 kB / 344.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.772e-05/0.003158, allocations: 16 kB / 344.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.003173, allocations: 19.92 kB / 344.5 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.0032, allocations: 43.84 kB / 344.6 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.003306, allocations: 91.67 kB / 344.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.003307, allocations: 4 kB / 344.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003308, allocations: 0 / 344.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.786e-06/0.00331, allocations: 3.938 kB / 344.7 MB, free: 4.383 MB / 266.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.000281/0.003591, allocations: 465.8 kB / 345.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/0.003617, allocations: 16.03 kB / 345.1 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.00365, allocations: 16.89 kB / 345.2 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.003751, allocations: 144.4 kB / 345.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.003759, allocations: 8.375 kB / 345.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-06/0.003768, allocations: 8.375 kB / 345.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.003873, allocations: 123.1 kB / 345.4 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.00388, allocations: 3.938 kB / 345.4 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.003887, allocations: 0 / 345.4 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.003892, allocations: 4 kB / 345.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.003931, allocations: 53.67 kB / 345.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.004209, allocations: 352 kB / 345.8 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.247e-05/0.004282, allocations: 92.72 kB / 345.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.004306, allocations: 49.38 kB / 346 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.004319, allocations: 4 kB / 346 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/0.004331, allocations: 37.52 kB / 346 MB, free: 2.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 7.72e-07/0.004332, allocations: 0 / 346 MB, free: 2.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003895/0.004721, allocations: 284.3 kB / 346.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.004738, allocations: 81.11 kB / 346.4 MB, free: 2.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.589e-05/0.004783, allocations: 185.9 kB / 346.6 MB, free: 2.277 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-06/0.00479, allocations: 33.7 kB / 346.6 MB, free: 2.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.004813, allocations: 147 kB / 346.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.004833, allocations: 39.67 kB / 346.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.004864, allocations: 31.36 kB / 346.8 MB, free: 2.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.336e-05/0.004897, allocations: 0.4883 MB / 347.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.004917, allocations: 41.62 kB / 347.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.004945, allocations: 57.05 kB / 347.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.004994, allocations: 107.5 kB / 347.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.004995, allocations: 0 / 347.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.486e-05/0.005079, allocations: 137 kB / 347.6 MB, free: 1.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.005094, allocations: 29.7 kB / 347.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.005097, allocations: 0 / 347.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.005104, allocations: 4 kB / 347.7 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.005179, allocations: 19.98 kB / 347.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.005181, allocations: 0 / 347.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.005218, allocations: 16.02 kB / 347.7 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.005227, allocations: 7.938 kB / 347.7 MB, free: 1.031 MB / 266.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 4.17e-05/0.005269, allocations: 186.2 kB / 347.9 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.005289, allocations: 11.95 kB / 347.9 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.005407, allocations: 173.8 kB / 348.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.005409, allocations: 0 / 348.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.00541, allocations: 4 kB / 348.1 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.005414, allocations: 0 / 348.1 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.334e-05/0.005507, allocations: 133.1 kB / 348.2 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005508, allocations: 0 / 348.2 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.005567, allocations: 31.98 kB / 348.2 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005568, allocations: 0 / 348.2 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.005574, allocations: 4 kB / 348.2 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.005575, allocations: 3.938 kB / 348.2 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.005576, allocations: 4 kB / 348.2 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.219e-05/0.005668, allocations: 291.2 kB / 348.5 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.005697, allocations: 27.83 kB / 348.6 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.005708, allocations: 0 / 348.6 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.005759, allocations: 15.92 kB / 348.6 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.005785, allocations: 7.984 kB / 348.6 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.005792, allocations: 8 kB / 348.6 MB, free: 56 kB / 266.7 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.005842, allocations: 143.2 kB / 348.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005842, allocations: 0 / 348.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.006008, allocations: 31.98 kB / 348.8 MB, free: 15.88 MB / 282.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 8.191e-05/0.00609, allocations: 107.2 kB / 348.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.00621, allocations: 162.5 kB / 349 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.006211, allocations: 0 / 349 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.006268, allocations: 120.3 kB / 349.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.00648, allocations: 47 kB / 349.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.006995, allocations: 303.9 kB / 349.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.143e-05/0.007026, allocations: 63.34 kB / 349.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.006e-05/0.007076, allocations: 21.08 kB / 349.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.007164, allocations: 106.1 kB / 349.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007165, allocations: 4 kB / 349.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of Templates: time 0.003257/0.01042, allocations: 2.205 MB / 351.9 MB, free: 12.71 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile [Timeout 660] (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_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4599262420088053]