Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.0009724/0.0009724, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.000976/0.000976, allocations: 177 kB / 23.5 MB, free: 1.051 MB / 18.57 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 0.9454/0.9454, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.02907/0.02907, allocations: 7.184 MB / 267.5 MB, free: 6.133 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 338.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.313e-05, allocations: 4.703 kB / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.005/0.005013, allocations: 8.441 MB / 347.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.007557, allocations: 2.612 MB / 349.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.007904, allocations: 43.88 kB / 350 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.008435, allocations: 377.4 kB / 350.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.01006, allocations: 1.509 MB / 351.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.01025, allocations: 147.6 kB / 352 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.01178, allocations: 2.602 MB / 354.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005686/0.01235, allocations: 0.8186 MB / 355.4 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009236/0.01327, allocations: 1.399 MB / 356.8 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.01428, allocations: 1.325 MB / 358.1 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.01448, allocations: 236 kB / 358.4 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000736/0.01521, allocations: 0.8346 MB / 359.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006819/0.01589, allocations: 1.274 MB / 360.5 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.01645, allocations: 0.8292 MB / 361.3 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.01878, allocations: 3.307 MB / 364.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01878, allocations: 0 / 364.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01878, allocations: 0 / 364.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.0188, allocations: 0 / 364.6 MB, free: 0.6992 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.0051/0.0239, allocations: 4.207 MB / 368.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.02394, allocations: 8.625 kB / 368.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/0.02798, allocations: 2.214 MB / 371 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.02923, allocations: 1.242 MB / 372.3 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.02931, allocations: 152.1 kB / 372.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.02957, allocations: 196.2 kB / 372.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004458/0.03403, allocations: 4.028 MB / 376.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-05/0.03408, allocations: 39.7 kB / 376.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.03427, allocations: 91.86 kB / 376.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0017/0.03597, allocations: 1.84 MB / 378.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004207/0.04018, allocations: 2.343 MB / 381 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.05772, allocations: 24.74 MB / 405.7 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.06016, allocations: 1.064 MB / 406.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.06061, allocations: 318.6 kB / 407.1 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003301/0.06391, allocations: 2.603 MB / 409.7 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.06394, allocations: 46.39 kB / 409.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.675e-06/0.06394, allocations: 0 / 409.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.1217/0.1856, allocations: 4.244 MB / 414 MB, free: 76.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1857, allocations: 66.31 kB / 414 MB, free: 76.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.1882, allocations: 1.962 MB / 416 MB, free: 76.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.1883, allocations: 45.33 kB / 416 MB, free: 76.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.1895, allocations: 2.301 MB / 418.3 MB, free: 74.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004796/0.19, allocations: 0.6117 MB / 419 MB, free: 74.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.1911, allocations: 0.8453 MB / 419.8 MB, free: 74.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.1912, allocations: 0.5156 MB / 420.3 MB, free: 73.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.1923, allocations: 433.6 kB / 420.7 MB, free: 73.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/0.1946, allocations: 3.562 MB / 424.3 MB, free: 69.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.1975, allocations: 4.368 MB / 428.7 MB, free: 64.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.431e-05/0.1975, allocations: 22.78 kB / 428.7 MB, free: 64.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=520) (initialization): time 0.004523/0.2021, allocations: 3.242 MB / 431.9 MB, free: 63.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.2021, allocations: 38.62 kB / 432 MB, free: 63.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-05/0.2022, allocations: 77.94 kB / 432 MB, free: 63.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/0.2026, allocations: 183.8 kB / 432.2 MB, free: 63.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.2045, allocations: 0.9058 MB / 433.1 MB, free: 63.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.2058, allocations: 2.389 MB / 435.5 MB, free: 60.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.2075, allocations: 209 kB / 435.7 MB, free: 60.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.2078, allocations: 235.3 kB / 436 MB, free: 60.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (486): * Single equations (assignments): 481 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007893/0.2086, allocations: 470.5 kB / 436.4 MB, free: 60.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.2088, allocations: 234.7 kB / 436.6 MB, free: 59.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.2102, allocations: 0.9482 MB / 437.6 MB, free: 59.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.305e-05/0.2103, allocations: 31.03 kB / 437.6 MB, free: 59.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2103, allocations: 0 / 437.6 MB, free: 59.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2103, allocations: 3.609 kB / 437.6 MB, free: 59.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.2152, allocations: 3.638 MB / 441.3 MB, free: 55.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.2153, allocations: 4 kB / 441.3 MB, free: 55.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/0.2159, allocations: 240.7 kB / 441.5 MB, free: 55.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.2162, allocations: 90.62 kB / 441.6 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.2162, allocations: 31.88 kB / 441.6 MB, free: 55.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009209/0.2172, allocations: 2.175 MB / 443.8 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2172, allocations: 0 / 443.8 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.2189, allocations: 1.409 MB / 445.2 MB, free: 51.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.2191, allocations: 181.3 kB / 445.4 MB, free: 51.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.2193, allocations: 26.12 kB / 445.4 MB, free: 51.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005065/0.2198, allocations: 68.16 kB / 445.5 MB, free: 51.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.2199, allocations: 89.91 kB / 445.6 MB, free: 51.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/0.22, allocations: 42.02 kB / 445.6 MB, free: 51.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009443/0.2209, allocations: 0.876 MB / 446.5 MB, free: 50.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2209, allocations: 0 / 446.5 MB, free: 50.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002134/0.2231, allocations: 0.6504 MB / 447.1 MB, free: 50.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * 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 {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002547/0.2233, allocations: 158.7 kB / 447.3 MB, free: 50.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00243/0.2257, allocations: 1.929 MB / 449.2 MB, free: 48.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2258, allocations: 0 / 449.2 MB, free: 48.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.2264, allocations: 0.5805 MB / 449.8 MB, free: 47.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009792/0.2273, allocations: 284.1 kB / 450.1 MB, free: 47.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.2335, allocations: 5.342 MB / 455.4 MB, free: 41.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/0.2343, allocations: 0.8971 MB / 456.3 MB, free: 40.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001704/0.236, allocations: 0.9928 MB / 457.3 MB, free: 39.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.2363, allocations: 152.5 kB / 457.4 MB, free: 39.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2363, allocations: 4 kB / 457.5 MB, free: 39.8 MB / 330.7 MB Notification: Performance of Templates: time 0.02376/0.26, allocations: 19.64 MB / 477.1 MB, free: 20.46 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.37740327604115]