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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001436/0.001436, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.379/1.379, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05118/0.05118, allocations: 11.84 MB / 281.2 MB, free: 9.652 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.001292/0.001292, allocations: 64.14 kB / 341.1 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09381, allocations: 49.22 MB / 390.4 MB, free: 5.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003554/0.09742, allocations: 2.416 MB / 392.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.09839, allocations: 0.6669 MB / 393.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.09848, allocations: 4 kB / 393.4 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.006e-05/0.09855, allocations: 7.922 kB / 393.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.0988, allocations: 67.53 kB / 393.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.299e-05/0.0989, allocations: 31.97 kB / 393.5 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.09906, allocations: 139.2 kB / 393.7 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.09917, allocations: 25.11 kB / 393.7 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.09929, allocations: 55.78 kB / 393.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.505e-05/0.09939, allocations: 51.77 kB / 393.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.09941, allocations: 4 kB / 393.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.09949, allocations: 23.98 kB / 393.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.09951, allocations: 15.88 kB / 393.9 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.09961, allocations: 59.67 kB / 393.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.09977, allocations: 115.8 kB / 394 MB, free: 1.461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09978, allocations: 0 / 394 MB, free: 1.461 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.09978, allocations: 0 / 394 MB, free: 1.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.09979, allocations: 0 / 394 MB, free: 1.461 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.0005307/0.1003, allocations: 448.7 kB / 394.5 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1004, allocations: 8.031 kB / 394.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.1004, allocations: 12.84 kB / 394.5 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1006, allocations: 200.1 kB / 394.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1006, allocations: 12.38 kB / 394.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1007, allocations: 12.12 kB / 394.7 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.1009, allocations: 105.6 kB / 394.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1009, allocations: 0 / 394.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1009, allocations: 4 kB / 394.8 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1009, allocations: 0 / 394.8 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.1012, allocations: 87.88 kB / 394.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.1019, allocations: 0.5746 MB / 395.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1021, allocations: 86.53 kB / 395.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.1022, allocations: 52.83 kB / 395.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1023, allocations: 0 / 395.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1023, allocations: 38.59 kB / 395.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.1023, allocations: 0 / 395.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001437/0.1037, allocations: 408.2 kB / 396 MB, free: 15.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1038, allocations: 81.05 kB / 396.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1039, allocations: 145.8 kB / 396.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.104, allocations: 29.7 kB / 396.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.104, allocations: 96.05 kB / 396.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.1041, allocations: 31.55 kB / 396.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.1041, allocations: 33.64 kB / 396.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1043, allocations: 322.8 kB / 396.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1044, allocations: 43.95 kB / 396.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.1046, allocations: 65.67 kB / 396.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.105, allocations: 161 kB / 397 MB, free: 14.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.105, allocations: 4 kB / 397 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004109/0.1054, allocations: 183.9 kB / 397.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.1055, allocations: 36.2 kB / 397.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1055, allocations: 0 / 397.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1055, allocations: 96 / 397.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1057, allocations: 31.91 kB / 397.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1057, allocations: 0 / 397.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1058, allocations: 23.92 kB / 397.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1059, allocations: 4 kB / 397.3 MB, free: 13.85 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 0.0001/0.106, allocations: 148.3 kB / 397.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.106, allocations: 11.84 kB / 397.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.1065, allocations: 211.4 kB / 397.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1065, allocations: 8 kB / 397.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1065, allocations: 0 / 397.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1065, allocations: 3.984 kB / 397.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.1068, allocations: 221.5 kB / 397.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1068, allocations: 0 / 397.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1069, allocations: 31.92 kB / 397.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.107, allocations: 0 / 397.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.107, allocations: 3.938 kB / 397.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.107, allocations: 8 kB / 397.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.107, allocations: 0 / 397.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.1075, allocations: 289 kB / 398.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.1076, allocations: 96.94 kB / 398.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.1076, allocations: 4 kB / 398.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1077, allocations: 23.92 kB / 398.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.1078, allocations: 11.92 kB / 398.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1078, allocations: 3.984 kB / 398.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.707e-05/0.1079, allocations: 111.3 kB / 398.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1079, allocations: 4 kB / 398.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1082, allocations: 28 kB / 398.5 MB, free: 12.54 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.0001513/0.1083, allocations: 111.2 kB / 398.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.1088, allocations: 175.3 kB / 398.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1088, allocations: 0 / 398.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.109, allocations: 123.3 kB / 398.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1095, allocations: 35.98 kB / 398.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.11, allocations: 329.4 kB / 399.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1103, allocations: 0.7048 MB / 400 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.366e-05/0.1104, allocations: 21.19 kB / 400 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.1105, allocations: 15.44 kB / 400 MB, free: 10.96 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1105, allocations: 0 / 400 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Templates: time 0.004994/0.1155, allocations: 1.892 MB / 401.9 MB, free: 9.094 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)