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.001078/0.001078, allocations: 109.1 kB / 15.99 MB, free: 6.336 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.001048/0.001048, allocations: 199.2 kB / 16.91 MB, free: 6.176 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.251/1.251, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05094/0.05094, allocations: 11.84 MB / 281.9 MB, free: 9.598 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.001329/0.001329, allocations: 71.56 kB / 342 MB, free: 22.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07089/0.07223, allocations: 49.23 MB / 391.2 MB, free: 5.055 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003186/0.07545, allocations: 2.417 MB / 393.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009106/0.07639, allocations: 0.6591 MB / 394.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.589e-05/0.07649, allocations: 4 kB / 394.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.794e-05/0.07656, allocations: 7.922 kB / 394.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.07686, allocations: 67.59 kB / 394.4 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.542e-05/0.07697, allocations: 31.91 kB / 394.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.07716, allocations: 151.2 kB / 394.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.07727, allocations: 21.12 kB / 394.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.07739, allocations: 59.83 kB / 394.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.07748, allocations: 55.72 kB / 394.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.07751, allocations: 8 kB / 394.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.103e-05/0.07757, allocations: 15.98 kB / 394.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.0776, allocations: 23.86 kB / 394.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.07767, allocations: 63.73 kB / 394.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.07779, allocations: 88.05 kB / 394.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.0778, allocations: 0 / 394.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07781, allocations: 0 / 394.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.07782, allocations: 0 / 394.9 MB, free: 1.367 MB / 286.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.0005087/0.07833, allocations: 452.6 kB / 395.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.07837, allocations: 11.89 kB / 395.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.07841, allocations: 12.84 kB / 395.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.0786, allocations: 200.1 kB / 395.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.07862, allocations: 12.38 kB / 395.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.07864, allocations: 12.12 kB / 395.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.07888, allocations: 93.64 kB / 395.6 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.0789, allocations: 0 / 395.6 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.07892, allocations: 11.94 kB / 395.6 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.07893, allocations: 0 / 395.6 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.07916, allocations: 87.88 kB / 395.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.07985, allocations: 0.5745 MB / 396.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.08006, allocations: 90.53 kB / 396.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.08019, allocations: 52.83 kB / 396.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.08021, allocations: 0 / 396.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.08024, allocations: 34.56 kB / 396.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.08025, allocations: 0 / 396.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001328/0.08158, allocations: 412.3 kB / 396.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.08164, allocations: 77.11 kB / 397 MB, free: 15.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.08175, allocations: 141.8 kB / 397.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.08178, allocations: 29.7 kB / 397.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.08183, allocations: 104 kB / 397.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.08187, allocations: 31.55 kB / 397.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.08193, allocations: 21.72 kB / 397.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.08203, allocations: 318.8 kB / 397.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.0822, allocations: 51.95 kB / 397.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.08237, allocations: 65.61 kB / 397.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.0827, allocations: 165.9 kB / 397.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.08271, allocations: 0 / 397.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003895/0.08311, allocations: 183.1 kB / 398 MB, free: 13.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.08315, allocations: 38.36 kB / 398.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.08316, allocations: 3.938 kB / 398.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.08317, allocations: 0 / 398.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.08335, allocations: 31.97 kB / 398.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.08336, allocations: 0 / 398.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.08348, allocations: 20 kB / 398.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.08351, allocations: 4 kB / 398.1 MB, free: 13.75 MB / 302.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 9.089e-05/0.0836, allocations: 144.4 kB / 398.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.08364, allocations: 15.75 kB / 398.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.08412, allocations: 211.9 kB / 398.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.08413, allocations: 4 kB / 398.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.08414, allocations: 0 / 398.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.08415, allocations: 0 / 398.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.08436, allocations: 221.5 kB / 398.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.08437, allocations: 0 / 398.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.08453, allocations: 39.91 kB / 398.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.08454, allocations: 0 / 398.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.08455, allocations: 0 / 398.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.08457, allocations: 4 kB / 398.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.08457, allocations: 4 kB / 398.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.08501, allocations: 288.9 kB / 399.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.0851, allocations: 104.9 kB / 399.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.08513, allocations: 4 kB / 399.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.08527, allocations: 15.98 kB / 399.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.08532, allocations: 11.98 kB / 399.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.08533, allocations: 0 / 399.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.815e-05/0.08542, allocations: 115.2 kB / 399.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08543, allocations: 3.938 kB / 399.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.08568, allocations: 32 kB / 399.3 MB, free: 12.44 MB / 302.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.0001271/0.08582, allocations: 103.2 kB / 399.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.08624, allocations: 183.2 kB / 399.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.08625, allocations: 0 / 399.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.08647, allocations: 127 kB / 399.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.08683, allocations: 40.03 kB / 399.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.08733, allocations: 353.1 kB / 400.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.08759, allocations: 0.7122 MB / 400.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.08764, allocations: 15.44 kB / 400.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08765, allocations: 0 / 400.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Templates: time 0.003115/0.09077, allocations: 1.885 MB / 402.7 MB, free: 8.961 MB / 302.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)