Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.001463/0.001463, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002367/0.00383, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001334/0.001334, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00174/0.003074, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.071/1.071, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1078/1.179, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.02793/0.02793, allocations: 7.187 MB / 251.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005119/0.03304, allocations: 2.556 MB / 253.7 MB, free: 5.316 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.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 255 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.734e-05, allocations: 2.312 kB / 255 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.006688/0.006705, allocations: 8.527 MB / 263.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.01116, allocations: 2.782 MB / 266.3 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005042/0.01166, allocations: 43.88 kB / 266.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.01233, allocations: 413.2 kB / 266.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.01488, allocations: 1.52 MB / 268.2 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.01531, allocations: 167.6 kB / 268.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.01763, allocations: 2.697 MB / 271.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.01849, allocations: 0.8784 MB / 272 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.0199, allocations: 1.509 MB / 273.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.0212, allocations: 1.293 MB / 274.8 MB, free: 128 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1579/0.1791, allocations: 242.5 kB / 275 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.181, allocations: 0.8491 MB / 275.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.182, allocations: 1.147 MB / 277 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.1834, allocations: 0.7066 MB / 277.7 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003979/0.1874, allocations: 3.13 MB / 280.8 MB, free: 4.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.1874, allocations: 0 / 280.8 MB, free: 4.387 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1874, allocations: 3.469 kB / 280.8 MB, free: 4.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000161/0.1876, allocations: 3.5 kB / 280.8 MB, free: 4.387 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.009553/0.1971, allocations: 4.131 MB / 285 MB, free: 2.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.1972, allocations: 11.67 kB / 285 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/0.2007, allocations: 1.027 MB / 286 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.2025, allocations: 1.04 MB / 287.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/0.2026, allocations: 153.8 kB / 287.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.2029, allocations: 206.6 kB / 287.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/0.207, allocations: 3.446 MB / 290.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.2071, allocations: 23.45 kB / 290.9 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.2073, allocations: 102.2 kB / 291 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001423/0.2087, allocations: 1.675 MB / 292.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/0.2125, allocations: 1.931 MB / 294.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/0.2295, allocations: 18.03 MB / 312.6 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.2317, allocations: 1.002 MB / 313.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.232, allocations: 242.7 kB / 313.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003538/0.2356, allocations: 2.284 MB / 316.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2356, allocations: 50.78 kB / 316.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 2.985e-06/0.2356, allocations: 0 / 316.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=153): time 0.006208/0.2418, allocations: 3.521 MB / 319.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.2418, allocations: 64.72 kB / 319.8 MB, free: 9.207 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.2434, allocations: 1.805 MB / 321.6 MB, free: 7.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.2434, allocations: 47.34 kB / 321.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009066/0.2443, allocations: 2.159 MB / 323.8 MB, free: 5.551 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.2446, allocations: 0.586 MB / 324.4 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006285/0.2453, allocations: 0.7592 MB / 325.1 MB, free: 4.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.2454, allocations: 363.5 kB / 325.5 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/0.2459, allocations: 414.5 kB / 325.9 MB, free: 3.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.2474, allocations: 2.479 MB / 328.4 MB, free: 164 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.2501, allocations: 3.384 MB / 331.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.201e-05/0.2502, allocations: 24 kB / 331.8 MB, free: 11.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.003128/0.2533, allocations: 2.646 MB / 334.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.2533, allocations: 36 kB / 334.5 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-05/0.2534, allocations: 76 kB / 334.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.2539, allocations: 259 kB / 334.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.2555, allocations: 0.957 MB / 335.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.2575, allocations: 2.329 MB / 338.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.2588, allocations: 152 kB / 338.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.259, allocations: 206.9 kB / 338.4 MB, free: 5.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,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 (482): * Single equations (assignments): 477 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001149/0.2601, allocations: 421.3 kB / 338.8 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.2603, allocations: 151.8 kB / 339 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009989/0.2613, allocations: 0.788 MB / 339.8 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.762e-05/0.2614, allocations: 24 kB / 339.8 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2614, allocations: 4 kB / 339.8 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.2614, allocations: 7.969 kB / 339.8 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.2655, allocations: 3.025 MB / 342.8 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2655, allocations: 0 / 342.8 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.2659, allocations: 207.7 kB / 343 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.2663, allocations: 262.5 kB / 343.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.2667, allocations: 231.4 kB / 343.5 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.2668, allocations: 27.98 kB / 343.5 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.2682, allocations: 1.75 MB / 345.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2682, allocations: 4 kB / 345.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2694, allocations: 1.143 MB / 346.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.2696, allocations: 29.7 kB / 346.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.2699, allocations: 32.03 kB / 346.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.27, allocations: 88.77 kB / 346.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.2701, allocations: 39.73 kB / 346.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006212/0.2707, allocations: 0.6536 MB / 347.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2707, allocations: 0 / 347.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001973/0.2727, allocations: 0.6757 MB / 348 MB, free: 11.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,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 (113): * Single equations (assignments): 108 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002812/0.273, allocations: 148.6 kB / 348.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.275, allocations: 1.711 MB / 349.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001162/0.2751, allocations: 64.58 kB / 349.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.2756, allocations: 0.5073 MB / 350.4 MB, free: 9.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.2765, allocations: 447.2 kB / 350.8 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009991/0.2865, allocations: 5.684 MB / 356.5 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008502/0.2874, allocations: 0.907 MB / 357.4 MB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008128/0.2882, allocations: 299.5 kB / 357.7 MB, free: 2.043 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/0.2887, allocations: 373.2 kB / 358.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2887, allocations: 0 / 358.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of Templates: time 0.03602/0.3247, allocations: 23.32 MB / 381.4 MB, free: 10.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.381590365432203]