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.001255/0.001255, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001539/0.001539, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] 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.06318/0.06318, allocations: 9.233 MB / 322.4 MB, free: 10.07 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.001956/0.001956, allocations: 63.91 kB / 449 MB, free: 14.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.1007, allocations: 55.48 MB / 0.4926 GB, free: 7.023 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.009335/0.1101, allocations: 8.245 MB / 0.5007 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.1148, allocations: 2.581 MB / 0.5032 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.1154, allocations: 35.88 kB / 0.5032 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.1162, allocations: 369.6 kB / 0.5036 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.1189, allocations: 1.432 MB / 0.505 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1192, allocations: 103.8 kB / 0.5051 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002844/0.122, allocations: 2.417 MB / 0.5075 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009823/0.123, allocations: 0.6811 MB / 0.5081 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1241, allocations: 0.891 MB / 0.509 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.1258, allocations: 1.374 MB / 0.5103 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.1261, allocations: 220 kB / 0.5105 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.1275, allocations: 0.8659 MB / 0.5114 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.1286, allocations: 1.211 MB / 0.5126 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.13, allocations: 1.518 MB / 0.5141 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1952/0.3252, allocations: 4.931 MB / 0.5189 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3252, allocations: 4.406 kB / 0.5189 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3252, allocations: 0 / 0.5189 GB, free: 12.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.05e-05/0.3253, allocations: 0 / 0.5189 GB, free: 12.73 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.01101/0.3363, allocations: 4.78 MB / 0.5235 GB, free: 11.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3363, allocations: 8.719 kB / 0.5236 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005995/0.3423, allocations: 1.782 MB / 0.5253 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.3448, allocations: 1.277 MB / 0.5265 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-05/0.3449, allocations: 141.5 kB / 0.5267 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.3453, allocations: 195.4 kB / 0.5269 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.3567, allocations: 8.347 MB / 0.535 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.077e-05/0.3568, allocations: 35.41 kB / 0.535 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.357, allocations: 92.81 kB / 0.5351 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002641/0.3597, allocations: 1.938 MB / 0.537 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.3717, allocations: 7.546 MB / 0.5444 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03194/0.4036, allocations: 26.25 MB / 0.57 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006256/0.4099, allocations: 2.091 MB / 0.5721 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.4112, allocations: 0.8186 MB / 0.5729 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006445/0.4176, allocations: 3.3 MB / 0.5761 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.4177, allocations: 51.55 kB / 0.5761 GB, free: 7.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 3.617e-06/0.4177, allocations: 0 / 0.5761 GB, free: 7.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01483/0.4325, allocations: 6.847 MB / 0.5828 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.4325, allocations: 64.72 kB / 0.5829 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003814/0.4364, allocations: 2.622 MB / 0.5855 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.955e-05/0.4365, allocations: 49.7 kB / 0.5855 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00181/0.4383, allocations: 2.228 MB / 0.5877 GB, free: 11.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005736/0.4388, allocations: 0.6053 MB / 0.5883 GB, free: 11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.44, allocations: 0.8412 MB / 0.5891 GB, free: 10.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4401, allocations: 301.1 kB / 0.5894 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.4423, allocations: 1.308 MB / 0.5907 GB, free: 8.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004129/0.4465, allocations: 3.717 MB / 0.5943 GB, free: 3.652 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006583/0.453, allocations: 5.446 MB / 0.5996 GB, free: 13.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.336e-05/0.4531, allocations: 24 kB / 0.5996 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.008735/0.4618, allocations: 5.116 MB / 0.6046 GB, free: 8.379 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.4619, allocations: 40 kB / 0.6047 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-05/0.462, allocations: 84 kB / 0.6047 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/0.4626, allocations: 270.6 kB / 0.605 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/0.4652, allocations: 0.928 MB / 0.6059 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.4691, allocations: 3.095 MB / 0.6089 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/0.4716, allocations: 203.5 kB / 0.6091 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004431/0.472, allocations: 256.2 kB / 0.6094 GB, free: 3.414 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.00248/0.4745, allocations: 1.61 MB / 0.6109 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.4749, allocations: 234.4 kB / 0.6112 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.4782, allocations: 1.966 MB / 0.6131 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/0.4783, allocations: 24.5 kB / 0.6131 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4783, allocations: 4 kB / 0.6131 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.4783, allocations: 3.984 kB / 0.6131 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009662/0.488, allocations: 5.895 MB / 0.6189 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.488, allocations: 8 kB / 0.6189 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/0.4888, allocations: 211.7 kB / 0.6191 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.4893, allocations: 171 kB / 0.6192 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.141e-05/0.4894, allocations: 34.58 kB / 0.6193 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002962/0.4923, allocations: 2.517 MB / 0.6217 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4923, allocations: 4 kB / 0.6217 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004531/0.4969, allocations: 3.135 MB / 0.6248 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.4974, allocations: 234.5 kB / 0.625 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.4977, allocations: 35.98 kB / 0.6251 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/0.4984, allocations: 55.94 kB / 0.6251 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.4985, allocations: 100.7 kB / 0.6252 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/0.4986, allocations: 47.12 kB / 0.6253 GB, free: 2.828 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002544/0.5012, allocations: 1.672 MB / 0.6269 GB, free: 1.141 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5012, allocations: 3.938 kB / 0.6269 GB, free: 1.137 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002667/0.5038, allocations: 0.6718 MB / 0.6275 GB, free: 476 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.0003266/0.5042, allocations: 166.9 kB / 0.6277 GB, free: 300 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004977/0.5091, allocations: 3.146 MB / 0.6308 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5092, allocations: 4 kB / 0.6308 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.5106, allocations: 0.9575 MB / 0.6317 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.5123, allocations: 394.9 kB / 0.6321 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.5237, allocations: 7.126 MB / 0.639 GB, free: 4.598 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/0.5265, allocations: 2.595 MB / 0.6416 GB, free: 1.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.5272, allocations: 211.4 kB / 0.6418 GB, free: 1.773 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5272, allocations: 0 / 0.6418 GB, free: 1.773 MB / 478.1 MB Notification: Performance of Templates: time 0.07573/0.6029, allocations: 56.94 MB / 0.6974 GB, free: 8.945 MB / 0.5294 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: 10.751075454056263] Failed to read output from testmodel.py, exit status != 0: 0.6114963900763541 0.626002747 0.29780330299999996 Calling exit ...