Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.001063/0.001063, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001156/0.001156, allocations: 177 kB / 23.36 MB, free: 1.129 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.9009/0.9009, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.03438/0.03438, allocations: 8.719 MB / 269 MB, free: 4.406 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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 288 MB, free: 1.352 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.127e-06/1.037e-05, allocations: 2.312 kB / 288 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.09352/0.09353, allocations: 2.46 MB / 290.5 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.09571, allocations: 2.313 MB / 292.8 MB, free: 17.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.09581, allocations: 6.188 kB / 292.8 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.0961, allocations: 88.23 kB / 292.9 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.09644, allocations: 169.1 kB / 293.1 MB, free: 17.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/0.09721, allocations: 452.9 kB / 293.5 MB, free: 17.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.09746, allocations: 268.8 kB / 293.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.09755, allocations: 37.73 kB / 293.8 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.09775, allocations: 141.9 kB / 293.9 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.09786, allocations: 84.58 kB / 294 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.09789, allocations: 12.25 kB / 294 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.09817, allocations: 209.3 kB / 294.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.09823, allocations: 49.39 kB / 294.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.09829, allocations: 65.19 kB / 294.4 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.09867, allocations: 354 kB / 294.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.09867, allocations: 5.734 kB / 294.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09867, allocations: 1.188 kB / 294.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.09867, allocations: 0 / 294.7 MB, free: 16.75 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004416/0.09912, allocations: 471.9 kB / 295.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.595e-05/0.09914, allocations: 9.781 kB / 295.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.09919, allocations: 27.45 kB / 295.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.09934, allocations: 184.7 kB / 295.4 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.09935, allocations: 12.95 kB / 295.4 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.09937, allocations: 17.64 kB / 295.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.09953, allocations: 116.5 kB / 295.5 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.09953, allocations: 1.969 kB / 295.5 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.09954, allocations: 5.719 kB / 295.5 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.09955, allocations: 3.438 kB / 295.5 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/0.09963, allocations: 48.23 kB / 295.6 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.1001, allocations: 329.9 kB / 295.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.481e-05/0.1002, allocations: 54.28 kB / 296 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.1002, allocations: 34.14 kB / 296 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.1002, allocations: 9.812 kB / 296 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/0.1002, allocations: 31.88 kB / 296 MB, free: 15.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.1002, allocations: 0 / 296 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002712/0.1005, allocations: 136.1 kB / 296.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.1005, allocations: 59.17 kB / 296.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1006, allocations: 232 kB / 296.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.1007, allocations: 30.61 kB / 296.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.1007, allocations: 141.8 kB / 296.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.1007, allocations: 27.47 kB / 296.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.1007, allocations: 39.27 kB / 296.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.364e-05/0.1008, allocations: 334.7 kB / 297 MB, free: 15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.1008, allocations: 13.88 kB / 297 MB, free: 15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.1008, allocations: 44.34 kB / 297.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.1009, allocations: 69.7 kB / 297.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1009, allocations: 7.875 kB / 297.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.912e-05/0.101, allocations: 88.77 kB / 297.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.101, allocations: 5.438 kB / 297.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.101, allocations: 1.859 kB / 297.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.101, allocations: 2.062 kB / 297.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.1011, allocations: 36.27 kB / 297.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1011, allocations: 2.578 kB / 297.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1012, allocations: 19.2 kB / 297.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1012, allocations: 3.781 kB / 297.3 MB, free: 14.86 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 4.728e-05/0.1012, allocations: 117.7 kB / 297.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.1013, allocations: 20.2 kB / 297.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1014, allocations: 117.1 kB / 297.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1014, allocations: 1.125 kB / 297.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.1014, allocations: 0.5625 kB / 297.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1014, allocations: 2.656 kB / 297.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1016, allocations: 284.8 kB / 297.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1016, allocations: 4.172 kB / 297.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.1016, allocations: 16.89 kB / 297.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1016, allocations: 1.156 kB / 297.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1016, allocations: 1.938 kB / 297.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1016, allocations: 1.344 kB / 297.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1016, allocations: 1.281 kB / 297.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.1017, allocations: 189 kB / 298 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.1017, allocations: 19.47 kB / 298.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1018, allocations: 6.062 kB / 298.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.344e-05/0.1018, allocations: 4.422 kB / 298.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.1018, allocations: 10.34 kB / 298.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.1018, allocations: 3.672 kB / 298.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.389e-05/0.1019, allocations: 85.67 kB / 298.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1019, allocations: 1.281 kB / 298.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.1021, allocations: 88.95 kB / 298.3 MB, free: 14.19 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0009045/0.103, allocations: 0.5129 MB / 298.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.636e-05/0.1031, allocations: 59.33 kB / 298.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1031, allocations: 2.594 kB / 298.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/0.1032, allocations: 29.06 kB / 298.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.1034, allocations: 50.89 kB / 298.9 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.104, allocations: 394 kB / 299.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.104, allocations: 77.45 kB / 299.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.3e-05/0.1041, allocations: 39.97 kB / 299.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.1042, allocations: 89.3 kB / 299.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1042, allocations: 0 / 299.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Templates: time 0.00518/0.1093, allocations: 4.025 MB / 303.5 MB, free: 12.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.577700335998088]