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.00152/0.00152, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001712/0.001712, allocations: 220.1 kB / 22.99 MB, free: 4.945 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.381/1.381, allocations: 230.6 MB / 256.8 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.04725/0.04725, allocations: 9.244 MB / 322.4 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.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.001991/0.001991, allocations: 76.97 kB / 448.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09978, allocations: 55.46 MB / 0.4926 GB, free: 6.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.009066/0.1088, allocations: 7.209 MB / 0.4996 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004859/0.1137, allocations: 2.437 MB / 0.502 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007144/0.1144, allocations: 39.81 kB / 0.502 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007938/0.1152, allocations: 365.6 kB / 0.5024 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.1181, allocations: 1.444 MB / 0.5038 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1184, allocations: 103.8 kB / 0.5039 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002647/0.121, allocations: 2.404 MB / 0.5062 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009182/0.122, allocations: 0.6811 MB / 0.5069 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.1231, allocations: 0.8832 MB / 0.5078 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.1247, allocations: 1.331 MB / 0.5091 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.1251, allocations: 220 kB / 0.5093 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.1263, allocations: 0.7372 MB / 0.51 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.1274, allocations: 1.215 MB / 0.5112 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.1285, allocations: 1.059 MB / 0.5122 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2067/0.3352, allocations: 4.94 MB / 0.517 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3352, allocations: 0.75 kB / 0.517 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3352, allocations: 0 / 0.517 GB, free: 12.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.3353, allocations: 0 / 0.517 GB, free: 12.74 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.01144/0.3468, allocations: 4.782 MB / 0.5217 GB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3468, allocations: 13.8 kB / 0.5217 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006199/0.353, allocations: 1.771 MB / 0.5234 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.3559, allocations: 1.29 MB / 0.5247 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.356, allocations: 142.5 kB / 0.5248 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000504/0.3565, allocations: 194.3 kB / 0.525 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.3695, allocations: 8.346 MB / 0.5332 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.475e-05/0.3696, allocations: 32.62 kB / 0.5332 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.3699, allocations: 94.58 kB / 0.5333 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002822/0.3727, allocations: 1.934 MB / 0.5352 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.3858, allocations: 7.537 MB / 0.5425 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/0.417, allocations: 23.89 MB / 0.5659 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006671/0.4236, allocations: 2.06 MB / 0.5679 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.425, allocations: 0.8263 MB / 0.5687 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00584/0.4309, allocations: 3.011 MB / 0.5716 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.4309, allocations: 47.56 kB / 0.5717 GB, free: 11.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 3.416e-06/0.4309, allocations: 0 / 0.5717 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01484/0.4457, allocations: 6.821 MB / 0.5783 GB, free: 4.586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.4458, allocations: 64.72 kB / 0.5784 GB, free: 4.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/0.449, allocations: 2.287 MB / 0.5806 GB, free: 2.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.385e-05/0.4491, allocations: 49.7 kB / 0.5807 GB, free: 2.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/0.4508, allocations: 2.246 MB / 0.5829 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005561/0.4513, allocations: 0.6119 MB / 0.5835 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.4525, allocations: 0.8529 MB / 0.5843 GB, free: 14.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4526, allocations: 337.9 kB / 0.5846 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/0.455, allocations: 1.313 MB / 0.5859 GB, free: 12.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00428/0.4593, allocations: 3.713 MB / 0.5895 GB, free: 7.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/0.466, allocations: 5.452 MB / 0.5949 GB, free: 1.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.222e-05/0.4661, allocations: 26.19 kB / 0.5949 GB, free: 1.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.008582/0.4746, allocations: 5.073 MB / 0.5998 GB, free: 12.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.4747, allocations: 44 kB / 0.5999 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.789e-05/0.4748, allocations: 84.16 kB / 0.6 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.4754, allocations: 265.2 kB / 0.6002 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.478, allocations: 0.9319 MB / 0.6011 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/0.482, allocations: 3.051 MB / 0.6041 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.4844, allocations: 201.7 kB / 0.6043 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/0.4848, allocations: 252 kB / 0.6045 GB, free: 7.789 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.002638/0.4874, allocations: 1.616 MB / 0.6061 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/0.4877, allocations: 199 kB / 0.6063 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/0.4911, allocations: 1.931 MB / 0.6082 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.536e-05/0.4912, allocations: 23.98 kB / 0.6082 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.4912, allocations: 11.92 kB / 0.6082 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.4912, allocations: 4.969 kB / 0.6082 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008769/0.5, allocations: 4.91 MB / 0.613 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.5, allocations: 7.984 kB / 0.613 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/0.5008, allocations: 215.6 kB / 0.6132 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/0.5013, allocations: 169.4 kB / 0.6134 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/0.5014, allocations: 32 kB / 0.6134 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/0.5044, allocations: 2.469 MB / 0.6158 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.5044, allocations: 8.656 kB / 0.6159 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004682/0.5091, allocations: 3.099 MB / 0.6189 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/0.5097, allocations: 190.7 kB / 0.6191 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.5099, allocations: 28 kB / 0.6191 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.5106, allocations: 67.05 kB / 0.6191 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.5108, allocations: 100.7 kB / 0.6192 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.135e-05/0.5109, allocations: 44 kB / 0.6193 GB, free: 8.398 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002028/0.5129, allocations: 1.322 MB / 0.6206 GB, free: 7.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5129, allocations: 0 / 0.6206 GB, free: 7.086 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002878/0.5158, allocations: 0.6601 MB / 0.6212 GB, free: 6.426 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.0003366/0.5161, allocations: 166.5 kB / 0.6214 GB, free: 6.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00531/0.5214, allocations: 3.139 MB / 0.6244 GB, free: 3.129 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.5214, allocations: 4 kB / 0.6245 GB, free: 3.125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.5229, allocations: 0.9655 MB / 0.6254 GB, free: 2.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.5243, allocations: 261.6 kB / 0.6256 GB, free: 1.906 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.5364, allocations: 7.068 MB / 0.6325 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/0.5392, allocations: 2.032 MB / 0.6345 GB, free: 8.684 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/0.5398, allocations: 195.4 kB / 0.6347 GB, free: 8.492 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5398, allocations: 0 / 0.6347 GB, free: 8.492 MB / 478.1 MB Notification: Performance of Templates: time 0.07653/0.6164, allocations: 55.36 MB / 0.6888 GB, free: 1.23 MB / 0.5137 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.309519406873733] Failed to read output from testmodel.py, exit status != 0: 0.6250037923455238 0.638912353 0.30070629600000004 Calling exit ...