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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 189.2 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 207.6 MB / 233.6 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.062/0.062, allocations: 12.01 MB / 297.8 MB, free: 9.887 MB / 238.1 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 75.88 kB / 417.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06609/0.06838, allocations: 51.94 MB / 469.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003884/0.07226, allocations: 2.429 MB / 471.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.07528, allocations: 2.158 MB / 473.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.327e-05/0.07537, allocations: 0 / 473.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.07569, allocations: 79.52 kB / 473.8 MB, free: 1.719 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.076, allocations: 123.2 kB / 473.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000855/0.07686, allocations: 410.4 kB / 474.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.0772, allocations: 254.8 kB / 474.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.07732, allocations: 36.5 kB / 474.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.0775, allocations: 99.58 kB / 474.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.07766, allocations: 107.5 kB / 474.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.07769, allocations: 16 kB / 474.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.07803, allocations: 199.8 kB / 475 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.07811, allocations: 47.78 kB / 475.1 MB, free: 464 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.07822, allocations: 103.4 kB / 475.2 MB, free: 360 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.07871, allocations: 354.6 kB / 475.5 MB, free: 4 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.07871, allocations: 3.984 kB / 475.5 MB, free: 0 / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.07871, allocations: 0 / 475.5 MB, free: 0 / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.07872, allocations: 0 / 475.5 MB, free: 0 / 334.1 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.0007926/0.07951, allocations: 496.6 kB / 476 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.07954, allocations: 19.92 kB / 476 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.07961, allocations: 24.8 kB / 476 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.07994, allocations: 205 kB / 476.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.07996, allocations: 11.94 kB / 476.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.07999, allocations: 12 kB / 476.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.08033, allocations: 153.6 kB / 476.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.08034, allocations: 0 / 476.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.08036, allocations: 8 kB / 476.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.08037, allocations: 4 kB / 476.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.08074, allocations: 151.9 kB / 476.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.08181, allocations: 0.6615 MB / 477.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.08208, allocations: 106.5 kB / 477.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.08223, allocations: 53.09 kB / 477.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.08228, allocations: 4 kB / 477.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.08231, allocations: 38.55 kB / 477.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.08231, allocations: 4 kB / 477.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001485/0.0838, allocations: 396.8 kB / 477.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.08384, allocations: 55.41 kB / 477.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.08417, allocations: 285.8 kB / 478.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.08419, allocations: 25.7 kB / 478.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.0843, allocations: 147.9 kB / 478.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.08434, allocations: 35.69 kB / 478.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/0.08442, allocations: 45.66 kB / 478.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.08458, allocations: 338.8 kB / 478.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.08479, allocations: 55.95 kB / 478.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.08504, allocations: 103.4 kB / 478.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.08546, allocations: 160.7 kB / 479.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.08546, allocations: 7.938 kB / 479.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005142/0.08597, allocations: 209.4 kB / 479.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.08599, allocations: 8 kB / 479.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.086, allocations: 0 / 479.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.08601, allocations: 0 / 479.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.08625, allocations: 48.03 kB / 479.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.08625, allocations: 0 / 479.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.08641, allocations: 23.91 kB / 479.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.08643, allocations: 8 kB / 479.4 MB, free: 11.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 16 * 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.0001304/0.08656, allocations: 137.8 kB / 479.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.08662, allocations: 23.86 kB / 479.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/0.08717, allocations: 199.2 kB / 479.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.08717, allocations: 4 kB / 479.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.08717, allocations: 0 / 479.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.08719, allocations: 7.922 kB / 479.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.0875, allocations: 236.6 kB / 480 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.0875, allocations: 0 / 480 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.08769, allocations: 39.91 kB / 480 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.08769, allocations: 0 / 480 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.08771, allocations: 8 kB / 480 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.08771, allocations: 0 / 480 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.08771, allocations: 0 / 480 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.08824, allocations: 283.2 kB / 480.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.08832, allocations: 27.84 kB / 480.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.08835, allocations: 4 kB / 480.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.08852, allocations: 15.97 kB / 480.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.08856, allocations: 11.98 kB / 480.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.08857, allocations: 11.88 kB / 480.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.08881, allocations: 201.2 kB / 480.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08881, allocations: 0 / 480.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.08919, allocations: 83.8 kB / 480.6 MB, free: 10.56 MB / 350.1 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 (12): * Single equations (assignments): 12 * 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.001421/0.09061, allocations: 415.1 kB / 481 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.0911, allocations: 131.8 kB / 481.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.09111, allocations: 0 / 481.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.09133, allocations: 75.88 kB / 481.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.09175, allocations: 69 kB / 481.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.09243, allocations: 391.9 kB / 481.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.09282, allocations: 0.7398 MB / 482.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.09294, allocations: 29.95 kB / 482.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.093, allocations: 23.44 kB / 482.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.093, allocations: 0 / 482.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of Templates: time 0.0083/0.1013, allocations: 3.918 MB / 486.4 MB, free: 4.855 MB / 350.1 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=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.212038262994611] Failed to read output from testmodel.py, exit status != 0: 0.10823235000134446 0.12383638199999994 0.041952818 Calling exit ...