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.001071/0.001071, 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.001126/0.001126, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9222/0.9222, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.02928/0.02928, allocations: 7.179 MB / 267.1 MB, free: 6.066 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 1.493e-06/1.493e-06, allocations: 0 / 338.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.288e-05, allocations: 5.922 kB / 338.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.009886/0.009909, allocations: 8.471 MB / 347.3 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005502/0.01541, allocations: 2.621 MB / 350 MB, free: 140 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007186/0.01613, allocations: 39.88 kB / 350 MB, free: 100 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007191/0.01685, allocations: 381.3 kB / 350.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.01939, allocations: 1.513 MB / 351.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.01968, allocations: 147.6 kB / 352 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002792/0.02248, allocations: 2.598 MB / 354.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.02359, allocations: 0.8225 MB / 355.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.02513, allocations: 1.399 MB / 356.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.02673, allocations: 1.328 MB / 358.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005071/0.02724, allocations: 236 kB / 358.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.02837, allocations: 0.8307 MB / 359.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.02952, allocations: 1.277 MB / 360.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009007/0.03042, allocations: 0.8292 MB / 361.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.0333, allocations: 3.307 MB / 364.6 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.03331, allocations: 4 kB / 364.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.03331, allocations: 0 / 364.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.964e-05/0.03334, allocations: 0 / 364.7 MB, free: 1.375 MB / 330.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.005121/0.03846, allocations: 4.199 MB / 368.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.0385, allocations: 12.62 kB / 368.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003779/0.04228, allocations: 2.21 MB / 371.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.04366, allocations: 1.303 MB / 372.4 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/0.04373, allocations: 148.1 kB / 372.5 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.04399, allocations: 204.2 kB / 372.7 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004714/0.0487, allocations: 4.032 MB / 376.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/0.04875, allocations: 31.75 kB / 376.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/0.04894, allocations: 87.88 kB / 376.9 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001682/0.05062, allocations: 1.852 MB / 378.7 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004444/0.05506, allocations: 2.343 MB / 381.1 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/0.07302, allocations: 24.73 MB / 405.8 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.07532, allocations: 1.057 MB / 406.9 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.07575, allocations: 316 kB / 407.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003072/0.07882, allocations: 2.595 MB / 409.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.07885, allocations: 46.39 kB / 409.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 2.875e-06/0.07885, allocations: 0 / 409.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.006681/0.08553, allocations: 4.255 MB / 414.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.08557, allocations: 68.72 kB / 414.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.08727, allocations: 1.973 MB / 416.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.08732, allocations: 49.7 kB / 416.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.08854, allocations: 2.307 MB / 418.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.08888, allocations: 0.6047 MB / 419.1 MB, free: 9.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007304/0.08961, allocations: 0.8575 MB / 419.9 MB, free: 8.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.08976, allocations: 0.5121 MB / 420.4 MB, free: 8.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.09044, allocations: 435.6 kB / 420.9 MB, free: 7.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/0.09323, allocations: 3.575 MB / 424.4 MB, free: 2.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/0.09721, allocations: 4.404 MB / 428.8 MB, free: 12.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.129e-05/0.09724, allocations: 20 kB / 428.9 MB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.005567/0.1028, allocations: 3.237 MB / 432.1 MB, free: 9.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.1029, allocations: 37.88 kB / 432.1 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-05/0.1029, allocations: 80.16 kB / 432.2 MB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.1032, allocations: 187.5 kB / 432.4 MB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.1048, allocations: 0.9124 MB / 433.3 MB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.1061, allocations: 2.4 MB / 435.7 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.1072, allocations: 207.9 kB / 435.9 MB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.1073, allocations: 224 kB / 436.1 MB, free: 5.516 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (488): * Single equations (assignments): 483 * 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.000697/0.108, allocations: 470.5 kB / 436.6 MB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.1083, allocations: 238.7 kB / 436.8 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.1098, allocations: 0.9623 MB / 437.8 MB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/0.1098, allocations: 23.98 kB / 437.8 MB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1098, allocations: 4 kB / 437.8 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1098, allocations: 7.969 kB / 437.8 MB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/0.1142, allocations: 3.637 MB / 441.5 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1142, allocations: 4 kB / 441.5 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1595/0.2738, allocations: 227.4 kB / 441.7 MB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002605/0.274, allocations: 90.97 kB / 441.8 MB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/0.2742, allocations: 29.7 kB / 441.8 MB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008735/0.2751, allocations: 2.179 MB / 444 MB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2751, allocations: 6.375 kB / 444 MB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.2768, allocations: 1.401 MB / 445.4 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.2772, allocations: 188 kB / 445.6 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.2774, allocations: 26.91 kB / 445.6 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.2778, allocations: 68.81 kB / 445.7 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.2779, allocations: 85.77 kB / 445.7 MB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.278, allocations: 45.14 kB / 445.8 MB, free: 122.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001108/0.2791, allocations: 0.8806 MB / 446.7 MB, free: 122.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2791, allocations: 0 / 446.7 MB, free: 122.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001974/0.2811, allocations: 0.6518 MB / 447.3 MB, free: 122.4 MB / 410.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.0002649/0.2813, allocations: 155.9 kB / 447.5 MB, free: 122.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.2836, allocations: 1.93 MB / 449.4 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.2836, allocations: 4.969 kB / 449.4 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.2841, allocations: 0.5839 MB / 450 MB, free: 121.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/0.2849, allocations: 284.6 kB / 450.3 MB, free: 121.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/0.2908, allocations: 5.338 MB / 455.6 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/0.2915, allocations: 0.9024 MB / 456.5 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001279/0.2927, allocations: 0.9933 MB / 457.5 MB, free: 119.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.293, allocations: 159.4 kB / 457.7 MB, free: 119.5 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.293, allocations: 0 / 457.7 MB, free: 119.5 MB / 410.7 MB Notification: Performance of Templates: time 0.02959/0.3226, allocations: 20.52 MB / 478.2 MB, free: 117.3 MB / 410.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.4063484077341855]