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.001426/0.001426, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001997/0.001997, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.487/1.487, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.04887/0.04887, allocations: 7.135 MB / 266.9 MB, free: 9.723 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.002356/0.002356, allocations: 59.91 kB / 393.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1202, allocations: 55.45 MB / 448.8 MB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.01053/0.1307, allocations: 7.199 MB / 456 MB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.1375, allocations: 2.433 MB / 458.5 MB, free: 9.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.1388, allocations: 35.88 kB / 458.5 MB, free: 9.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.1401, allocations: 361.6 kB / 458.9 MB, free: 8.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.1442, allocations: 1.444 MB / 460.3 MB, free: 7.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.1448, allocations: 103.8 kB / 460.4 MB, free: 7.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003917/0.1487, allocations: 2.408 MB / 462.8 MB, free: 4.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.1501, allocations: 0.681 MB / 463.5 MB, free: 4.184 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.1522, allocations: 0.8793 MB / 464.4 MB, free: 3.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.1551, allocations: 1.331 MB / 465.7 MB, free: 1.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006919/0.1558, allocations: 223.9 kB / 465.9 MB, free: 1.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.1575, allocations: 0.7333 MB / 466.7 MB, free: 1.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.1588, allocations: 1.219 MB / 467.9 MB, free: 15.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.1602, allocations: 1.059 MB / 468.9 MB, free: 14.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006017/0.1662, allocations: 4.953 MB / 473.9 MB, free: 9.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1662, allocations: 0 / 473.9 MB, free: 9.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1662, allocations: 0 / 473.9 MB, free: 9.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001164/0.1663, allocations: 0 / 473.9 MB, free: 9.75 MB / 446.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.01357/0.1799, allocations: 4.83 MB / 478.7 MB, free: 4.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1799, allocations: 8.625 kB / 478.7 MB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007138/0.1871, allocations: 1.828 MB / 480.5 MB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.1902, allocations: 1.281 MB / 481.8 MB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.1904, allocations: 147.9 kB / 482 MB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004708/0.1908, allocations: 188.2 kB / 482.2 MB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2553/0.4462, allocations: 8.333 MB / 490.5 MB, free: 65.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.37e-05/0.4463, allocations: 29.55 kB / 490.5 MB, free: 65.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/0.4466, allocations: 93.48 kB / 490.6 MB, free: 65.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002707/0.4493, allocations: 1.944 MB / 492.6 MB, free: 65.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.4627, allocations: 7.477 MB / 0.4883 GB, free: 62.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/0.4945, allocations: 23.97 MB / 0.5117 GB, free: 46.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007088/0.5016, allocations: 2.19 MB / 0.5139 GB, free: 46.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.503, allocations: 0.81 MB / 0.5147 GB, free: 45.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006512/0.5095, allocations: 3.025 MB / 0.5176 GB, free: 44.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.5096, allocations: 44.88 kB / 0.5177 GB, free: 44.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=141): time 4.738e-06/0.5096, allocations: 1.031 kB / 0.5177 GB, free: 44.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.01582/0.5254, allocations: 6.957 MB / 0.5244 GB, free: 42.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.5255, allocations: 64.91 kB / 0.5245 GB, free: 42.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/0.5291, allocations: 2.282 MB / 0.5267 GB, free: 41.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.5292, allocations: 47.39 kB / 0.5268 GB, free: 41.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.5306, allocations: 2.256 MB / 0.529 GB, free: 39.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/0.5311, allocations: 0.6159 MB / 0.5296 GB, free: 39.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.5323, allocations: 0.8457 MB / 0.5304 GB, free: 38.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5324, allocations: 341.8 kB / 0.5307 GB, free: 38.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.5348, allocations: 1.305 MB / 0.532 GB, free: 37.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/0.5382, allocations: 3.695 MB / 0.5356 GB, free: 34.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00565/0.5438, allocations: 5.442 MB / 0.5409 GB, free: 29.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.39e-05/0.5439, allocations: 26.31 kB / 0.541 GB, free: 29.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.008573/0.5525, allocations: 5.051 MB / 0.5459 GB, free: 25.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.5526, allocations: 43.94 kB / 0.5459 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.773e-05/0.5526, allocations: 88.81 kB / 0.546 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.5533, allocations: 274.8 kB / 0.5463 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.556, allocations: 0.932 MB / 0.5472 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.5594, allocations: 3.046 MB / 0.5502 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004336/0.5637, allocations: 200.1 kB / 0.5504 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006196/0.5643, allocations: 250.9 kB / 0.5506 GB, free: 20.89 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.002851/0.5672, allocations: 1.61 MB / 0.5522 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/0.5676, allocations: 198.6 kB / 0.5524 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.5706, allocations: 1.919 MB / 0.5542 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-05/0.5707, allocations: 28.78 kB / 0.5543 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5707, allocations: 0 / 0.5543 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.5707, allocations: 13.06 kB / 0.5543 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/0.5789, allocations: 4.919 MB / 0.5591 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.5789, allocations: 4 kB / 0.5591 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008041/0.5797, allocations: 213.4 kB / 0.5593 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/0.5801, allocations: 168.9 kB / 0.5594 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/0.5802, allocations: 31.84 kB / 0.5595 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.5823, allocations: 2.471 MB / 0.5619 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5823, allocations: 4 kB / 0.5619 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/0.5859, allocations: 3.074 MB / 0.5649 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/0.5864, allocations: 190.1 kB / 0.5651 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.5866, allocations: 28 kB / 0.5651 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.5873, allocations: 59.03 kB / 0.5652 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.5874, allocations: 106.9 kB / 0.5653 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.5875, allocations: 56.5 kB / 0.5653 GB, free: 7.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001607/0.5891, allocations: 1.316 MB / 0.5666 GB, free: 6.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5891, allocations: 0 / 0.5666 GB, free: 6.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003313/0.5924, allocations: 0.662 MB / 0.5672 GB, free: 5.633 MB / 446.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.0003074/0.5927, allocations: 162.9 kB / 0.5674 GB, free: 5.469 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004768/0.5975, allocations: 3.123 MB / 0.5704 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.5975, allocations: 0 / 0.5704 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.5986, allocations: 0.9457 MB / 0.5714 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6001, allocations: 266.5 kB / 0.5716 GB, free: 1.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.6127, allocations: 6.68 MB / 0.5782 GB, free: 10.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003072/0.6158, allocations: 2.023 MB / 0.5801 GB, free: 8.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003018/0.6188, allocations: 1.218 MB / 0.5813 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.6192, allocations: 156.5 kB / 0.5815 GB, free: 7.035 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6192, allocations: 0 / 0.5815 GB, free: 7.035 MB / 462.1 MB Notification: Performance of Templates: time 0.04324/0.6624, allocations: 18.31 MB / 0.5993 GB, free: 5.004 MB / 478.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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.89888425800018] Failed to read output from testmodel.py, exit status != 0: 0.6718506859615445 0.6866857000000001 0.517077263 Calling exit ...