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.001453/0.001453, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00159/0.00159, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.801 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.05097/0.05097, allocations: 9.232 MB / 321.7 MB, free: 9.836 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.002289/0.002289, allocations: 59.91 kB / 448.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1042, allocations: 55.47 MB / 0.4918 GB, free: 6.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.01028/0.1145, allocations: 7.218 MB / 0.4989 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005515/0.12, allocations: 2.437 MB / 0.5012 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009086/0.1209, allocations: 39.88 kB / 0.5013 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.122, allocations: 365.6 kB / 0.5016 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.1255, allocations: 1.444 MB / 0.503 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1259, allocations: 95.83 kB / 0.5031 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.129, allocations: 2.412 MB / 0.5055 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.1302, allocations: 0.6733 MB / 0.5061 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.1317, allocations: 0.891 MB / 0.507 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.1338, allocations: 1.323 MB / 0.5083 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006047/0.1344, allocations: 220 kB / 0.5085 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.136, allocations: 0.745 MB / 0.5092 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.1374, allocations: 1.219 MB / 0.5104 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.1391, allocations: 1.055 MB / 0.5115 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.204/0.3431, allocations: 4.938 MB / 0.5163 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.3431, allocations: 0.75 kB / 0.5163 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3431, allocations: 1.25 kB / 0.5163 GB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.503e-05/0.3432, allocations: 0 / 0.5163 GB, free: 12.76 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.01142/0.3546, allocations: 4.785 MB / 0.521 GB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3547, allocations: 12.56 kB / 0.521 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007002/0.3617, allocations: 1.773 MB / 0.5227 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.3644, allocations: 1.287 MB / 0.524 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.3645, allocations: 138.9 kB / 0.5241 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004504/0.365, allocations: 194.4 kB / 0.5243 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.3777, allocations: 8.353 MB / 0.5324 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.477e-05/0.3778, allocations: 30.2 kB / 0.5325 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/0.3781, allocations: 91.12 kB / 0.5325 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002951/0.3811, allocations: 1.938 MB / 0.5344 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.3955, allocations: 7.533 MB / 0.5418 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.4291, allocations: 23.89 MB / 0.5651 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006853/0.436, allocations: 2.08 MB / 0.5672 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.4374, allocations: 0.8237 MB / 0.568 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006281/0.4437, allocations: 3.004 MB / 0.5709 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.4437, allocations: 43.56 kB / 0.5709 GB, free: 11.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 3.406e-06/0.4437, allocations: 0 / 0.5709 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01588/0.4596, allocations: 6.822 MB / 0.5776 GB, free: 4.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.4597, allocations: 68.72 kB / 0.5777 GB, free: 4.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/0.4631, allocations: 2.286 MB / 0.5799 GB, free: 2.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/0.4632, allocations: 45.7 kB / 0.5799 GB, free: 2.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.4648, allocations: 2.25 MB / 0.5821 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/0.4654, allocations: 0.6212 MB / 0.5827 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.4665, allocations: 0.8452 MB / 0.5836 GB, free: 14.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4667, allocations: 341.9 kB / 0.5839 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.4689, allocations: 1.308 MB / 0.5852 GB, free: 12.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00443/0.4733, allocations: 3.719 MB / 0.5888 GB, free: 7.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006946/0.4803, allocations: 5.44 MB / 0.5941 GB, free: 1.699 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-05/0.4803, allocations: 28 kB / 0.5941 GB, free: 1.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.008904/0.4892, allocations: 5.074 MB / 0.5991 GB, free: 12.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/0.4893, allocations: 40 kB / 0.5991 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.055e-05/0.4894, allocations: 84 kB / 0.5992 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000674/0.4901, allocations: 272.7 kB / 0.5995 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.4929, allocations: 0.9319 MB / 0.6004 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/0.4971, allocations: 3.047 MB / 0.6034 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.4995, allocations: 203 kB / 0.6036 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/0.4999, allocations: 252 kB / 0.6038 GB, free: 7.816 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.00252/0.5024, allocations: 1.62 MB / 0.6054 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.5027, allocations: 195.2 kB / 0.6056 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.5063, allocations: 1.936 MB / 0.6075 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.5064, allocations: 31.97 kB / 0.6075 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5064, allocations: 0 / 0.6075 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.5064, allocations: 3.984 kB / 0.6075 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009398/0.5158, allocations: 4.904 MB / 0.6123 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.5158, allocations: 4 kB / 0.6123 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008706/0.5167, allocations: 215.7 kB / 0.6125 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.5172, allocations: 173.1 kB / 0.6127 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/0.5173, allocations: 32 kB / 0.6127 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.5205, allocations: 2.462 MB / 0.6151 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.5205, allocations: 9.375 kB / 0.6151 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006255/0.5268, allocations: 3.096 MB / 0.6181 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/0.5275, allocations: 194.6 kB / 0.6183 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005393/0.5281, allocations: 35.11 kB / 0.6183 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.5293, allocations: 59.94 kB / 0.6184 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.5296, allocations: 102.1 kB / 0.6185 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.5297, allocations: 48 kB / 0.6185 GB, free: 8.434 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003698/0.5334, allocations: 1.318 MB / 0.6198 GB, free: 7.125 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5334, allocations: 4 kB / 0.6198 GB, free: 7.121 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005057/0.5385, allocations: 0.6601 MB / 0.6205 GB, free: 6.461 MB / 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.0005146/0.539, allocations: 164.9 kB / 0.6206 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008138/0.5471, allocations: 3.142 MB / 0.6237 GB, free: 3.168 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.5472, allocations: 0 / 0.6237 GB, free: 3.168 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.5489, allocations: 0.9661 MB / 0.6246 GB, free: 2.191 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.5507, allocations: 273.6 kB / 0.6249 GB, free: 1.938 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/0.57, allocations: 6.693 MB / 0.6314 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005185/0.5752, allocations: 2.03 MB / 0.6334 GB, free: 9.102 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004688/0.5799, allocations: 1.209 MB / 0.6346 GB, free: 7.891 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007055/0.5806, allocations: 147.4 kB / 0.6347 GB, free: 7.746 MB / 478.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5806, allocations: 4 kB / 0.6348 GB, free: 7.742 MB / 478.1 MB Notification: Performance of Templates: time 0.04616/0.6268, allocations: 21.27 MB / 0.6555 GB, free: 2.832 MB / 494.1 MB " [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: 5.6744224186986685] Failed to read output from testmodel.py, exit status != 0: 0.6360591761767864 0.652323085 0.30578783899999995 Calling exit ...