Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 214.3 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.05076/0.05076, allocations: 9.227 MB / 321.7 MB, free: 9.848 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 74.08 kB / 448.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1029, allocations: 55.47 MB / 0.4918 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.009438/0.1123, allocations: 7.205 MB / 0.4989 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00623/0.1185, allocations: 2.428 MB / 0.5012 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009662/0.1195, allocations: 31.94 kB / 0.5013 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008728/0.1204, allocations: 369.6 kB / 0.5016 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.1235, allocations: 1.37 MB / 0.503 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.1239, allocations: 119.7 kB / 0.5031 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.1269, allocations: 2.41 MB / 0.5054 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.1279, allocations: 0.6655 MB / 0.5061 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.129, allocations: 0.8754 MB / 0.5069 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.1307, allocations: 1.327 MB / 0.5082 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.1311, allocations: 224 kB / 0.5084 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.1324, allocations: 0.7333 MB / 0.5092 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.1335, allocations: 1.211 MB / 0.5103 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.1346, allocations: 1.067 MB / 0.5114 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2223/0.3568, allocations: 4.951 MB / 0.5162 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.3569, allocations: 0.6562 kB / 0.5162 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3569, allocations: 0.875 kB / 0.5162 GB, free: 12.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001446/0.357, allocations: 0 / 0.5162 GB, free: 12.79 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1172 * Number of variables: 1172 Notification: Performance of Generate backend data structure: time 0.007347/0.3643, allocations: 3.26 MB / 0.5194 GB, free: 11.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3644, allocations: 10.19 kB / 0.5194 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006857/0.3713, allocations: 1.783 MB / 0.5211 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.3747, allocations: 1.264 MB / 0.5224 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.3748, allocations: 141.6 kB / 0.5225 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005043/0.3753, allocations: 183.2 kB / 0.5227 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/0.3894, allocations: 8.131 MB / 0.5306 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.534e-05/0.3894, allocations: 28.59 kB / 0.5307 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004112/0.3899, allocations: 95.8 kB / 0.5308 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003326/0.3932, allocations: 2.002 MB / 0.5327 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.4068, allocations: 7.168 MB / 0.5397 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03395/0.4408, allocations: 21.73 MB / 0.5609 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004646/0.4454, allocations: 1.657 MB / 0.5625 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.4467, allocations: 0.6806 MB / 0.5632 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005456/0.4521, allocations: 2.413 MB / 0.5656 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.4522, allocations: 43.56 kB / 0.5656 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=114): time 3.947e-06/0.4522, allocations: 0 / 0.5656 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of matching and sorting (n=117): time 0.01063/0.4628, allocations: 4.396 MB / 0.5699 GB, free: 12.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.4628, allocations: 64.41 kB / 0.57 GB, free: 12.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.4666, allocations: 2.228 MB / 0.5721 GB, free: 10.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/0.4667, allocations: 37.7 kB / 0.5722 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.4685, allocations: 2.238 MB / 0.5744 GB, free: 7.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.469, allocations: 481.5 kB / 0.5748 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.4702, allocations: 0.7638 MB / 0.5756 GB, free: 6.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4704, allocations: 341.9 kB / 0.5759 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.4727, allocations: 1.174 MB / 0.577 GB, free: 5.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004196/0.4769, allocations: 3.33 MB / 0.5803 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006353/0.4832, allocations: 4.8 MB / 0.585 GB, free: 11.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.226e-05/0.4833, allocations: 24 kB / 0.585 GB, free: 11.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.007941/0.4912, allocations: 4.42 MB / 0.5893 GB, free: 7.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.4913, allocations: 36 kB / 0.5894 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.01e-05/0.4914, allocations: 76 kB / 0.5894 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.4915, allocations: 100 kB / 0.5895 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/0.4942, allocations: 0.8546 MB / 0.5904 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000134/0.4944, allocations: 151.5 kB / 0.5905 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.4966, allocations: 180.8 kB / 0.5907 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.4969, allocations: 234.5 kB / 0.5909 GB, free: 5.406 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (459): * Single equations (assignments): 454 * Array equations: 5 * 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.002528/0.4994, allocations: 1.565 MB / 0.5924 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.4997, allocations: 182.7 kB / 0.5926 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.5023, allocations: 1.389 MB / 0.594 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/0.5024, allocations: 24.83 kB / 0.594 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5024, allocations: 1.375 kB / 0.594 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5024, allocations: 3.984 kB / 0.594 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007547/0.51, allocations: 3.784 MB / 0.5977 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.51, allocations: 8 kB / 0.5977 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/0.5108, allocations: 179.8 kB / 0.5979 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.5108, allocations: 8.625 kB / 0.5979 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.5109, allocations: 32.83 kB / 0.5979 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.5109, allocations: 18.66 kB / 0.5979 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/0.5109, allocations: 8 kB / 0.5979 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.5145, allocations: 2.368 MB / 0.6002 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.5149, allocations: 174.8 kB / 0.6004 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.5151, allocations: 24 kB / 0.6004 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/0.5158, allocations: 58.52 kB / 0.6005 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.516, allocations: 72.42 kB / 0.6006 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/0.516, allocations: 48 kB / 0.6006 GB, free: 11.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.518, allocations: 1.293 MB / 0.6019 GB, free: 10.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.518, allocations: 0 / 0.6019 GB, free: 10.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002538/0.5205, allocations: 0.5933 MB / 0.6024 GB, free: 9.422 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.w) * 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 (92): * Single equations (assignments): 87 * Array equations: 5 * 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.0002969/0.5208, allocations: 154.9 kB / 0.6026 GB, free: 9.258 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004342/0.5252, allocations: 2.557 MB / 0.6051 GB, free: 6.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5252, allocations: 4 kB / 0.6051 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.5262, allocations: 0.6033 MB / 0.6057 GB, free: 6.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.5274, allocations: 247.2 kB / 0.6059 GB, free: 5.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.5388, allocations: 6.401 MB / 0.6122 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003396/0.5422, allocations: 1.995 MB / 0.6141 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002667/0.5449, allocations: 1.075 MB / 0.6152 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.5453, allocations: 143.4 kB / 0.6153 GB, free: 12.17 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5453, allocations: 0 / 0.6153 GB, free: 12.17 MB / 462.1 MB Notification: Performance of Templates: time 0.04022/0.5856, allocations: 20.25 MB / 0.6351 GB, free: 8.234 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.570979464799166] Failed to read output from testmodel.py, exit status != 0: 0.5945371259003878 0.6095151630000001 0.24939429500000002 Calling exit ...