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.001038/0.001038, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001221/0.001221, allocations: 165 kB / 23.02 MB, free: 1.555 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.9791/0.9791, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.03368/0.03368, allocations: 7.174 MB / 267.1 MB, free: 6.047 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 2.134e-06/2.134e-06, allocations: 0 / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.401e-05, allocations: 6.312 kB / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.006336/0.00636, allocations: 8.475 MB / 347.3 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00363/0.00999, allocations: 2.62 MB / 350 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.01049, allocations: 39.88 kB / 350 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007122/0.0112, allocations: 385.4 kB / 350.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.01326, allocations: 1.497 MB / 351.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.01353, allocations: 155.6 kB / 352 MB, free: 13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002143/0.01567, allocations: 2.598 MB / 354.6 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.01674, allocations: 0.8186 MB / 355.4 MB, free: 9.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.0182, allocations: 1.399 MB / 356.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.01976, allocations: 1.328 MB / 358.2 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004259/0.02019, allocations: 240 kB / 358.4 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.02132, allocations: 0.823 MB / 359.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008525/0.02218, allocations: 1.277 MB / 360.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008306/0.02301, allocations: 0.8292 MB / 361.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.02614, allocations: 3.311 MB / 364.6 MB, free: 332 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02615, allocations: 0 / 364.6 MB, free: 332 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02615, allocations: 3.938 kB / 364.6 MB, free: 328 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001254/0.02627, allocations: 4 kB / 364.6 MB, free: 324 kB / 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.006137/0.03241, allocations: 4.195 MB / 368.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.03246, allocations: 12.62 kB / 368.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/0.03634, allocations: 2.206 MB / 371.1 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.03774, allocations: 1.25 MB / 372.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.03782, allocations: 156.1 kB / 372.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.03808, allocations: 192.2 kB / 372.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004788/0.04287, allocations: 4.032 MB / 376.7 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.04291, allocations: 35.69 kB / 376.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.0431, allocations: 91.86 kB / 376.8 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001641/0.04474, allocations: 1.84 MB / 378.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004373/0.04911, allocations: 2.339 MB / 381 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.06768, allocations: 24.75 MB / 405.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.07006, allocations: 1.059 MB / 406.8 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.0705, allocations: 316 kB / 407.1 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00339/0.07389, allocations: 2.599 MB / 409.7 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.07392, allocations: 46.39 kB / 409.7 MB, free: 1.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.464e-06/0.07392, allocations: 4 kB / 409.7 MB, free: 1.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.1419/0.2159, allocations: 4.245 MB / 414 MB, free: 71.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.2159, allocations: 66.56 kB / 414.1 MB, free: 71.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.2183, allocations: 1.96 MB / 416 MB, free: 71.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.2184, allocations: 47.61 kB / 416.1 MB, free: 71.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.2195, allocations: 2.298 MB / 418.4 MB, free: 69.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000479/0.22, allocations: 0.6151 MB / 419 MB, free: 69.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.221, allocations: 0.8535 MB / 419.8 MB, free: 69.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2211, allocations: 0.5158 MB / 420.3 MB, free: 68.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.2222, allocations: 427.6 kB / 420.8 MB, free: 68.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.2243, allocations: 3.558 MB / 424.3 MB, free: 64.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/0.2276, allocations: 4.375 MB / 428.7 MB, free: 60.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-05/0.2276, allocations: 22.09 kB / 428.7 MB, free: 60.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=520) (initialization): time 0.004412/0.2321, allocations: 3.221 MB / 431.9 MB, free: 59.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.2321, allocations: 40.12 kB / 432 MB, free: 59.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-05/0.2321, allocations: 73.41 kB / 432 MB, free: 59.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003232/0.2325, allocations: 188.8 kB / 432.2 MB, free: 59.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.2339, allocations: 0.9095 MB / 433.1 MB, free: 59.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.235, allocations: 2.391 MB / 435.5 MB, free: 57.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.2363, allocations: 202.3 kB / 435.7 MB, free: 57.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.2365, allocations: 233 kB / 436 MB, free: 57.3 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.0007369/0.2372, allocations: 470.6 kB / 436.4 MB, free: 56.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.2374, allocations: 234.7 kB / 436.6 MB, free: 56.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.2384, allocations: 0.9539 MB / 437.6 MB, free: 55.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.979e-05/0.2385, allocations: 31.55 kB / 437.6 MB, free: 55.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2385, allocations: 0 / 437.6 MB, free: 55.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.2385, allocations: 3.797 kB / 437.6 MB, free: 55.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.2423, allocations: 3.643 MB / 441.3 MB, free: 52.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2423, allocations: 4 kB / 441.3 MB, free: 52.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.2427, allocations: 229.5 kB / 441.5 MB, free: 52.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.2429, allocations: 98.95 kB / 441.6 MB, free: 52.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.243, allocations: 25.88 kB / 441.6 MB, free: 52.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007212/0.2437, allocations: 2.182 MB / 443.8 MB, free: 50.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2437, allocations: 4 kB / 443.8 MB, free: 50.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.245, allocations: 1.403 MB / 445.2 MB, free: 48.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.2452, allocations: 178 kB / 445.4 MB, free: 48.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2453, allocations: 24 kB / 445.4 MB, free: 48.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.2457, allocations: 69.98 kB / 445.5 MB, free: 48.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2458, allocations: 90.86 kB / 445.6 MB, free: 48.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.2458, allocations: 43.75 kB / 445.6 MB, free: 48.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007194/0.2466, allocations: 0.875 MB / 446.5 MB, free: 47.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2466, allocations: 0 / 446.5 MB, free: 47.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001536/0.2481, allocations: 0.6587 MB / 447.1 MB, free: 47.03 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.0002358/0.2483, allocations: 154 kB / 447.3 MB, free: 46.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.2502, allocations: 1.93 MB / 449.2 MB, free: 45.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2502, allocations: 0 / 449.2 MB, free: 45.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.2507, allocations: 0.5779 MB / 449.8 MB, free: 44.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.2515, allocations: 290 kB / 450.1 MB, free: 44.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.2569, allocations: 5.343 MB / 455.4 MB, free: 39.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.2575, allocations: 0.8971 MB / 456.3 MB, free: 38.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001198/0.2587, allocations: 0.9954 MB / 457.3 MB, free: 37.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.259, allocations: 156.5 kB / 457.5 MB, free: 37.24 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.259, allocations: 0 / 457.5 MB, free: 37.24 MB / 330.7 MB Notification: Performance of Templates: time 0.02304/0.282, allocations: 19.64 MB / 477.1 MB, free: 17.93 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.505017523188144]