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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) 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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004855/0.004855, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 193 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05486/0.05486, allocations: 11.84 MB / 281.7 MB, free: 9.348 MB / 238.1 MB 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.001569/0.001569, allocations: 67.91 kB / 392.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3356, allocations: 49.23 MB / 441.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003688/0.3394, allocations: 2.087 MB / 443.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3405, allocations: 0.6179 MB / 444.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.3406, allocations: 1.438 kB / 444.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.4e-05/0.3407, allocations: 13.62 kB / 444.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.3411, allocations: 76.97 kB / 444.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.3413, allocations: 36.39 kB / 444.4 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.3415, allocations: 147.7 kB / 444.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3417, allocations: 34.72 kB / 444.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.3418, allocations: 62.61 kB / 444.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.342, allocations: 55.88 kB / 444.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.342, allocations: 7.375 kB / 444.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.3421, allocations: 23.78 kB / 444.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.3421, allocations: 25.62 kB / 444.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.3422, allocations: 57.83 kB / 444.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.3425, allocations: 115.9 kB / 444.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3425, allocations: 1 kB / 444.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3425, allocations: 0 / 444.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3425, allocations: 0 / 444.9 MB, free: 2.18 MB / 318.1 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.0005802/0.3431, allocations: 438.6 kB / 445.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3431, allocations: 17.17 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.3432, allocations: 15.31 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3435, allocations: 216.2 kB / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3435, allocations: 7.781 kB / 445.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.3435, allocations: 13.53 kB / 445.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.3438, allocations: 103.7 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3438, allocations: 0 / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3438, allocations: 1.062 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3438, allocations: 2.25 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.3441, allocations: 84.3 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.3448, allocations: 0.5695 MB / 446.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.345, allocations: 89.36 kB / 446.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3452, allocations: 50.91 kB / 446.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3452, allocations: 1.125 kB / 446.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3452, allocations: 36.25 kB / 446.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3452, allocations: 1.156 kB / 446.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001417/0.3467, allocations: 404.2 kB / 446.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3467, allocations: 87.34 kB / 447 MB, free: 492 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3468, allocations: 142.3 kB / 447.2 MB, free: 376 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3469, allocations: 31.64 kB / 447.2 MB, free: 340 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.3469, allocations: 99 kB / 447.3 MB, free: 244 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.347, allocations: 41.67 kB / 447.3 MB, free: 208 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.347, allocations: 24.55 kB / 447.3 MB, free: 188 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3471, allocations: 323.3 kB / 447.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.3473, allocations: 44.75 kB / 447.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.3475, allocations: 66.11 kB / 447.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.3479, allocations: 165.6 kB / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3479, allocations: 0 / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004472/0.3484, allocations: 185.6 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.3484, allocations: 30.45 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3484, allocations: 2.141 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3484, allocations: 0.9062 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.3486, allocations: 26.3 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3487, allocations: 1.312 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.3488, allocations: 20.06 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.3489, allocations: 3.125 kB / 448.2 MB, free: 15.58 MB / 334.1 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 0.0001258/0.349, allocations: 159.1 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.349, allocations: 12.56 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.3496, allocations: 214.1 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3496, allocations: 1.156 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3496, allocations: 0 / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3496, allocations: 2.453 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3499, allocations: 214.8 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3499, allocations: 1.172 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.3501, allocations: 39.34 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3501, allocations: 1.312 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3501, allocations: 1.25 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3501, allocations: 2 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3501, allocations: 4 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.3507, allocations: 287.6 kB / 449.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.3508, allocations: 101.4 kB / 449.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3508, allocations: 10.19 kB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.3509, allocations: 15.39 kB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.351, allocations: 12.2 kB / 449.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.351, allocations: 2.5 kB / 449.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.54e-05/0.3511, allocations: 116.2 kB / 449.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3511, allocations: 0 / 449.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3514, allocations: 31.41 kB / 449.4 MB, free: 14.62 MB / 334.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 (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.0001812/0.3516, allocations: 119.9 kB / 449.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.3521, allocations: 177.2 kB / 449.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3521, allocations: 0 / 449.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.3523, allocations: 121.1 kB / 449.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3527, allocations: 29.42 kB / 449.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.3533, allocations: 280.4 kB / 450.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3536, allocations: 0.7084 MB / 450.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.244e-05/0.3537, allocations: 20.61 kB / 450.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.3537, allocations: 18.64 kB / 450.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of SimCode: time 1.422e-06/0.3537, allocations: 0 / 450.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Templates: time 0.00551/0.3592, allocations: 2.086 MB / 452.9 MB, free: 12.3 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)