Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.001416/0.001416, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001736/0.001736, allocations: 217.6 kB / 22.25 MB, free: 5.121 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.619/1.619, allocations: 230.6 MB / 256 MB, free: 7.953 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.05203/0.05203, allocations: 9.24 MB / 321.7 MB, free: 10 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.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") [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.002125/0.002125, allocations: 81.08 kB / 448.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1132, allocations: 55.46 MB / 0.4919 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.01041/0.1236, allocations: 8.252 MB / 0.4999 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005968/0.1296, allocations: 2.585 MB / 0.5025 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007656/0.1303, allocations: 35.88 kB / 0.5025 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008801/0.1312, allocations: 369.5 kB / 0.5029 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003195/0.1344, allocations: 1.436 MB / 0.5043 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.1347, allocations: 103.8 kB / 0.5044 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002842/0.1376, allocations: 2.416 MB / 0.5067 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009822/0.1386, allocations: 0.6811 MB / 0.5074 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.1397, allocations: 0.8832 MB / 0.5082 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.1415, allocations: 1.374 MB / 0.5096 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.1418, allocations: 220 kB / 0.5098 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.1432, allocations: 0.8698 MB / 0.5106 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.1443, allocations: 1.211 MB / 0.5118 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.1458, allocations: 1.514 MB / 0.5133 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2622/0.408, allocations: 4.936 MB / 0.5181 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.408, allocations: 0 / 0.5181 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.408, allocations: 1.406 kB / 0.5181 GB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001671/0.4081, allocations: 1.156 kB / 0.5181 GB, free: 12.77 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01786/0.426, allocations: 4.785 MB / 0.5228 GB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.4261, allocations: 9.906 kB / 0.5228 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007636/0.4337, allocations: 1.777 MB / 0.5245 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.4385, allocations: 1.27 MB / 0.5258 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.4387, allocations: 143.5 kB / 0.5259 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000826/0.4395, allocations: 188.7 kB / 0.5261 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.4556, allocations: 8.355 MB / 0.5343 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-05/0.4557, allocations: 28.97 kB / 0.5343 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003345/0.456, allocations: 95.81 kB / 0.5344 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003271/0.4593, allocations: 1.94 MB / 0.5363 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.4764, allocations: 7.545 MB / 0.5436 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04919/0.5256, allocations: 26.26 MB / 0.5693 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007825/0.5334, allocations: 2.087 MB / 0.5713 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.5352, allocations: 0.815 MB / 0.5721 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008768/0.544, allocations: 3.308 MB / 0.5754 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.5441, allocations: 47.55 kB / 0.5754 GB, free: 7.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 4.167e-06/0.5441, allocations: 4 kB / 0.5754 GB, free: 7.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.0189/0.563, allocations: 6.847 MB / 0.5821 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.563, allocations: 64.72 kB / 0.5821 GB, free: 472 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00686/0.5699, allocations: 2.625 MB / 0.5847 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.5701, allocations: 45.7 kB / 0.5848 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002825/0.573, allocations: 2.227 MB / 0.5869 GB, free: 11.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008518/0.5738, allocations: 0.6099 MB / 0.5875 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/0.5758, allocations: 0.8405 MB / 0.5883 GB, free: 10.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.576, allocations: 301.1 kB / 0.5886 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003128/0.5791, allocations: 1.308 MB / 0.5899 GB, free: 8.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005621/0.5847, allocations: 3.715 MB / 0.5935 GB, free: 3.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007981/0.5927, allocations: 5.441 MB / 0.5989 GB, free: 13.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.592e-05/0.5928, allocations: 24 kB / 0.5989 GB, free: 13.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01046/0.6032, allocations: 5.113 MB / 0.6039 GB, free: 8.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/0.6033, allocations: 44.25 kB / 0.6039 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/0.6035, allocations: 84 kB / 0.604 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007338/0.6042, allocations: 271.9 kB / 0.6042 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/0.6074, allocations: 0.9318 MB / 0.6052 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/0.612, allocations: 3.091 MB / 0.6082 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.615, allocations: 203.9 kB / 0.6084 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006055/0.6156, allocations: 252 kB / 0.6086 GB, free: 3.348 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (510): * Single equations (assignments): 505 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003362/0.619, allocations: 1.612 MB / 0.6102 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005343/0.6195, allocations: 238.4 kB / 0.6104 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.6234, allocations: 1.965 MB / 0.6123 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/0.6235, allocations: 28.92 kB / 0.6124 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.6236, allocations: 4 kB / 0.6124 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.6236, allocations: 7.922 kB / 0.6124 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.6358, allocations: 5.888 MB / 0.6181 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.6358, allocations: 4 kB / 0.6181 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008924/0.6367, allocations: 215.7 kB / 0.6183 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/0.6373, allocations: 168.3 kB / 0.6185 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.6374, allocations: 32 kB / 0.6185 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/0.6408, allocations: 2.515 MB / 0.621 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.6408, allocations: 6.625 kB / 0.621 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/0.6462, allocations: 3.133 MB / 0.624 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007905/0.647, allocations: 230.5 kB / 0.6243 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.6472, allocations: 31.98 kB / 0.6243 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007821/0.648, allocations: 66.67 kB / 0.6244 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.6482, allocations: 100.7 kB / 0.6245 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.6483, allocations: 51.98 kB / 0.6245 GB, free: 2.758 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003219/0.6515, allocations: 1.668 MB / 0.6261 GB, free: 1.074 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6515, allocations: 4 kB / 0.6261 GB, free: 1.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003922/0.6555, allocations: 0.6748 MB / 0.6268 GB, free: 408 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,revolute.phi,revolute.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 (118): * Single equations (assignments): 113 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000445/0.6559, allocations: 154.9 kB / 0.6269 GB, free: 240 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00625/0.6622, allocations: 3.161 MB / 0.63 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.6622, allocations: 0 / 0.63 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.6638, allocations: 0.9594 MB / 0.631 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.6659, allocations: 383.8 kB / 0.6313 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.678, allocations: 6.752 MB / 0.6379 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00305/0.6811, allocations: 2.589 MB / 0.6405 GB, free: 2.309 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002921/0.684, allocations: 1.263 MB / 0.6417 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.6844, allocations: 174 kB / 0.6419 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6844, allocations: 0 / 0.6419 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of Templates: time 0.05632/0.7407, allocations: 25.7 MB / 0.667 GB, free: 7.395 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.682751097017899] Failed to read output from testmodel.py, exit status != 0: 0.7521336879581213 0.768652748 0.35730909400000005 Calling exit ...