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.00123/0.00123, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00172/0.00172, allocations: 177 kB / 23.49 MB, free: 1.055 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.9379/0.9379, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.03455/0.03455, allocations: 8.712 MB / 269 MB, free: 4.59 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.623e-06/1.623e-06, allocations: 0 / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.441e-05, allocations: 2.312 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.005558/0.005583, allocations: 2.167 MB / 343 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.00636, allocations: 0.6038 MB / 343.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.041e-05/0.00644, allocations: 0 / 343.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.006485, allocations: 11.86 kB / 343.6 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.006784, allocations: 79.34 kB / 343.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.366e-05/0.006878, allocations: 27.95 kB / 343.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.007058, allocations: 159.1 kB / 343.9 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.007165, allocations: 25.3 kB / 343.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.007338, allocations: 87.73 kB / 344 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.007421, allocations: 51.81 kB / 344.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.00744, allocations: 8 kB / 344.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.061e-05/0.007491, allocations: 16 kB / 344.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.00751, allocations: 19.92 kB / 344.1 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.007556, allocations: 43.91 kB / 344.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.00772, allocations: 91.56 kB / 344.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.007723, allocations: 0 / 344.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.007725, allocations: 0 / 344.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.007733, allocations: 4 kB / 344.2 MB, free: 4.988 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.0004094/0.008142, allocations: 469.8 kB / 344.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.008179, allocations: 8.031 kB / 344.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.008233, allocations: 16.89 kB / 344.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.008391, allocations: 148.4 kB / 344.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.008402, allocations: 4.312 kB / 344.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.008416, allocations: 12.38 kB / 344.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.008594, allocations: 123.2 kB / 345 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.008602, allocations: 3.938 kB / 345 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.008614, allocations: 0 / 345 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.008622, allocations: 8 kB / 345 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.008705, allocations: 57.67 kB / 345.1 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.00915, allocations: 375.4 kB / 345.4 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.009271, allocations: 96.67 kB / 345.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.009318, allocations: 53.38 kB / 345.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.009332, allocations: 0 / 345.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.009349, allocations: 41.39 kB / 345.6 MB, free: 3.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.00935, allocations: 0 / 345.6 MB, free: 3.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006111/0.009961, allocations: 300.5 kB / 345.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.009984, allocations: 81.05 kB / 346 MB, free: 3.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.01006, allocations: 193.8 kB / 346.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.01007, allocations: 25.7 kB / 346.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.0101, allocations: 155 kB / 346.4 MB, free: 2.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.01013, allocations: 35.69 kB / 346.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.01017, allocations: 27.36 kB / 346.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.53e-05/0.0102, allocations: 0.4884 MB / 346.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/0.01024, allocations: 45.69 kB / 347 MB, free: 2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.703e-05/0.01029, allocations: 61.06 kB / 347 MB, free: 1.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.429e-05/0.01037, allocations: 106.7 kB / 347.1 MB, free: 1.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01038, allocations: 3.938 kB / 347.1 MB, free: 1.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001404/0.01052, allocations: 141.8 kB / 347.3 MB, free: 1.641 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.01054, allocations: 32.36 kB / 347.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.01054, allocations: 0 / 347.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.01056, allocations: 8 kB / 347.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/0.01371, allocations: 19.98 kB / 347.3 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.01372, allocations: 8.016 kB / 347.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.01378, allocations: 11.94 kB / 347.4 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01379, allocations: 4 kB / 347.4 MB, free: 1.555 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 6.992e-05/0.01386, allocations: 194.2 kB / 347.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.0139, allocations: 7.953 kB / 347.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.01411, allocations: 177.8 kB / 347.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01411, allocations: 4 kB / 347.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01412, allocations: 3.984 kB / 347.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01412, allocations: 3.938 kB / 347.7 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.01426, allocations: 156.6 kB / 347.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01427, allocations: 0 / 347.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.01435, allocations: 31.92 kB / 347.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01436, allocations: 0 / 347.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01437, allocations: 0 / 347.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01437, allocations: 4 kB / 347.9 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01437, allocations: 0 / 347.9 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.01454, allocations: 299.2 kB / 348.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.01458, allocations: 23.83 kB / 348.2 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.0146, allocations: 8 kB / 348.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.01468, allocations: 11.98 kB / 348.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.01473, allocations: 11.98 kB / 348.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01474, allocations: 0 / 348.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.03e-05/0.01478, allocations: 147.1 kB / 348.4 MB, free: 400 kB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01478, allocations: 0 / 348.4 MB, free: 400 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.01503, allocations: 35.94 kB / 348.5 MB, free: 364 kB / 266.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.0001184/0.01515, allocations: 103.2 kB / 348.6 MB, free: 252 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.01531, allocations: 174.4 kB / 348.7 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01532, allocations: 0 / 348.7 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.01541, allocations: 124.8 kB / 348.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.01572, allocations: 35.19 kB / 348.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.01961, allocations: 315.8 kB / 349.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.01966, allocations: 63.34 kB / 349.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.01974, allocations: 21.09 kB / 349.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.0198, allocations: 16.5 kB / 349.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.011e-06/0.0198, allocations: 0 / 349.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of Templates: time 0.004619/0.02442, allocations: 1.995 MB / 351.3 MB, free: 13.46 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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.783340666210279]