Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.001331/0.001331, allocations: 106.6 kB / 18.32 MB, free: 3.973 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.00136/0.00136, allocations: 190 kB / 21.5 MB, free: 0.8125 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.363/1.363, allocations: 207.6 MB / 232.1 MB, free: 3.16 MB / 174.1 MB " [Timeout remaining time 179] 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.06184/0.06184, allocations: 12.01 MB / 296.2 MB, free: 3.203 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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") [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.002372/0.002372, allocations: 75.88 kB / 415.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2273, allocations: 51.88 MB / 467 MB, free: 15.45 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.004332/0.2316, allocations: 2.842 MB / 469.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003577/0.2352, allocations: 2.316 MB / 472.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2353, allocations: 10.94 kB / 472.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.2357, allocations: 100 kB / 472.2 MB, free: 11.29 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.0004701/0.2362, allocations: 176.2 kB / 472.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.2371, allocations: 445.7 kB / 472.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.2376, allocations: 381 kB / 473.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.2377, allocations: 40.72 kB / 473.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.2379, allocations: 137.8 kB / 473.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.2381, allocations: 160.2 kB / 473.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.2382, allocations: 23.41 kB / 473.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.2387, allocations: 276.5 kB / 473.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.2388, allocations: 71.19 kB / 473.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.2389, allocations: 155.7 kB / 474.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007173/0.2396, allocations: 0.4984 MB / 474.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2397, allocations: 1.188 kB / 474.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2397, allocations: 0 / 474.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2397, allocations: 0 / 474.6 MB, free: 9.816 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009786/0.2406, allocations: 0.6469 MB / 475.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2407, allocations: 13.61 kB / 475.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.2408, allocations: 41.77 kB / 475.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.2412, allocations: 303.3 kB / 475.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.2412, allocations: 17.66 kB / 475.6 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.2412, allocations: 20 kB / 475.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.2417, allocations: 231.2 kB / 475.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2417, allocations: 0 / 475.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.2417, allocations: 8 kB / 475.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2417, allocations: 11.98 kB / 475.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.2422, allocations: 245.6 kB / 476.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.244, allocations: 1.325 MB / 477.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.2444, allocations: 162.8 kB / 477.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.2446, allocations: 72.83 kB / 477.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.2448, allocations: 178.2 kB / 477.8 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2448, allocations: 38.5 kB / 477.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.2448, allocations: 4 kB / 477.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.02999/0.2748, allocations: 2.724 MB / 480.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.2749, allocations: 55.41 kB / 480.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.2753, allocations: 357.7 kB / 481 MB, free: 3.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.2754, allocations: 33.7 kB / 481 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2755, allocations: 176.8 kB / 481.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.2756, allocations: 115 kB / 481.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.2758, allocations: 73.67 kB / 481.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.276, allocations: 342.8 kB / 481.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009253/0.2769, allocations: 287.8 kB / 482 MB, free: 2.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/0.2779, allocations: 323 kB / 482.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.2798, allocations: 0.5805 MB / 482.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2798, allocations: 0 / 482.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003055/0.2829, allocations: 0.8851 MB / 483.8 MB, free: 328 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2829, allocations: 10.5 kB / 483.8 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2829, allocations: 0 / 483.8 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/0.2854, allocations: 1.044 MB / 484.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.2857, allocations: 59.89 kB / 484.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006322/0.292, allocations: 1.819 MB / 486.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.2927, allocations: 51.92 kB / 486.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.2928, allocations: 19.98 kB / 486.8 MB, free: 13.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002536/0.293, allocations: 153.7 kB / 486.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2932, allocations: 39.75 kB / 487 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.2971, allocations: 0.9741 MB / 487.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2971, allocations: 3.938 kB / 487.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2971, allocations: 4 kB / 487.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.2972, allocations: 3.984 kB / 487.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/0.3035, allocations: 1.854 MB / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3035, allocations: 4 kB / 489.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.3038, allocations: 56.08 kB / 489.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002131/0.3059, allocations: 0.868 MB / 490.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/0.306, allocations: 15.98 kB / 490.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00563/0.3116, allocations: 1.741 MB / 492.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3116, allocations: 3.938 kB / 492.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.3144, allocations: 0.8708 MB / 493.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.3146, allocations: 176.7 kB / 493.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.955e-05/0.3147, allocations: 8 kB / 493.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/0.3154, allocations: 39.97 kB / 493.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.3154, allocations: 19.97 kB / 493.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.3155, allocations: 23.92 kB / 493.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.3158, allocations: 259.2 kB / 493.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3158, allocations: 0 / 493.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007499/0.3165, allocations: 231.6 kB / 494.1 MB, free: 5.734 MB / 350.1 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002028/0.3186, allocations: 0.5281 MB / 494.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005459/0.324, allocations: 0.7455 MB / 495.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.324, allocations: 0 / 495.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003908/0.3279, allocations: 452.4 kB / 495.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.3286, allocations: 93.23 kB / 495.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.3305, allocations: 0.7763 MB / 496.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.3309, allocations: 0.7879 MB / 497.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.3311, allocations: 58.88 kB / 497.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.3312, allocations: 31.42 kB / 497.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3312, allocations: 0 / 497.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Templates: time 0.02406/0.3553, allocations: 15.26 MB / 0.5008 GB, free: 2.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.898205941004562]