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.001381/0.001381, allocations: 92.22 kB / 19.65 MB, free: 276 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.001492/0.001492, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.051/1.051, allocations: 177.1 MB / 203.4 MB, free: 5.582 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.03839/0.03839, allocations: 7.184 MB / 267.1 MB, free: 6.062 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.533e-06/1.533e-06, allocations: 0 / 338.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.431e-05, allocations: 2.312 kB / 338.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.005357/0.005371, allocations: 8.595 MB / 347.4 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.008669, allocations: 2.698 MB / 350.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.009111, allocations: 43.88 kB / 350.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.00975, allocations: 385.2 kB / 350.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.01173, allocations: 1.536 MB / 352.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.01202, allocations: 175.7 kB / 352.3 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.01404, allocations: 2.685 MB / 355 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000883/0.01492, allocations: 0.8602 MB / 355.8 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.01609, allocations: 1.446 MB / 357.3 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.01716, allocations: 1.352 MB / 358.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.01737, allocations: 244 kB / 358.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000806/0.01817, allocations: 0.8347 MB / 359.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006713/0.01885, allocations: 1.289 MB / 361 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.01941, allocations: 0.8604 MB / 361.8 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.02175, allocations: 3.358 MB / 365.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.02175, allocations: 4 kB / 365.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.02175, allocations: 0 / 365.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.02177, allocations: 0 / 365.2 MB, free: 15.75 MB / 298.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.004898/0.02667, allocations: 4.265 MB / 369.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.02671, allocations: 16.62 kB / 369.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/0.03052, allocations: 2.218 MB / 371.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.032, allocations: 1.35 MB / 373 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.232e-05/0.03208, allocations: 156.2 kB / 373.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.03234, allocations: 204.2 kB / 373.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004553/0.03689, allocations: 4.064 MB / 377.5 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.205e-05/0.03694, allocations: 27.73 kB / 377.5 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.03713, allocations: 95.88 kB / 377.6 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/0.03879, allocations: 1.848 MB / 379.4 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004119/0.04291, allocations: 2.355 MB / 381.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.05966, allocations: 25.07 MB / 406.9 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.06201, allocations: 1.082 MB / 407.9 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/0.06245, allocations: 316.3 kB / 408.3 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003208/0.06566, allocations: 2.639 MB / 410.9 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.06569, allocations: 50.33 kB / 410.9 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 3.647e-06/0.06569, allocations: 0 / 410.9 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.147/0.2126, allocations: 4.239 MB / 415.2 MB, free: 71.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.2127, allocations: 69.12 kB / 415.2 MB, free: 71.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/0.2152, allocations: 2.024 MB / 417.3 MB, free: 70.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.2153, allocations: 50.61 kB / 417.3 MB, free: 70.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.2164, allocations: 2.332 MB / 419.7 MB, free: 69.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.2168, allocations: 0.6079 MB / 420.3 MB, free: 69.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008903/0.2177, allocations: 0.8633 MB / 421.1 MB, free: 69.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2178, allocations: 0.5266 MB / 421.6 MB, free: 68.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.2189, allocations: 434.8 kB / 422.1 MB, free: 68.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.2207, allocations: 3.598 MB / 425.7 MB, free: 64.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/0.2234, allocations: 4.428 MB / 430.1 MB, free: 60.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.181e-05/0.2235, allocations: 23.44 kB / 430.1 MB, free: 60.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.004111/0.2276, allocations: 3.339 MB / 433.5 MB, free: 59.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.2276, allocations: 40.47 kB / 433.5 MB, free: 59.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.898e-05/0.2277, allocations: 75.66 kB / 433.6 MB, free: 59.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.2283, allocations: 290.8 kB / 433.9 MB, free: 58.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.2298, allocations: 0.879 MB / 434.7 MB, free: 58.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.2318, allocations: 3.079 MB / 437.8 MB, free: 55.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.2332, allocations: 197 kB / 438 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.2334, allocations: 235.9 kB / 438.2 MB, free: 55.34 MB / 330.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.0008452/0.2342, allocations: 472.6 kB / 438.7 MB, free: 54.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.2345, allocations: 245.6 kB / 438.9 MB, free: 54.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.2357, allocations: 1.032 MB / 440 MB, free: 53.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.161e-05/0.2357, allocations: 23.47 kB / 440 MB, free: 53.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2357, allocations: 4 kB / 440 MB, free: 53.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.2357, allocations: 7.031 kB / 440 MB, free: 53.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/0.2402, allocations: 3.793 MB / 443.8 MB, free: 50.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.2402, allocations: 7.75 kB / 443.8 MB, free: 50.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.2406, allocations: 205.2 kB / 444 MB, free: 50.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/0.241, allocations: 186.2 kB / 444.2 MB, free: 50.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.241, allocations: 39.47 kB / 444.2 MB, free: 50.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.2423, allocations: 2.443 MB / 446.7 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2424, allocations: 3.828 kB / 446.7 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.2439, allocations: 1.522 MB / 448.2 MB, free: 46.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.2442, allocations: 324.2 kB / 448.5 MB, free: 45.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.2444, allocations: 24 kB / 448.5 MB, free: 45.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.2447, allocations: 62.94 kB / 448.6 MB, free: 45.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.2449, allocations: 88.44 kB / 448.7 MB, free: 45.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.2449, allocations: 43.8 kB / 448.7 MB, free: 45.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008582/0.2458, allocations: 0.911 MB / 449.6 MB, free: 44.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2458, allocations: 8 kB / 449.6 MB, free: 44.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002018/0.2478, allocations: 0.6718 MB / 450.3 MB, free: 44.29 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.0002661/0.248, allocations: 158.3 kB / 450.5 MB, free: 44.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.2503, allocations: 2.018 MB / 452.5 MB, free: 42.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2503, allocations: 0 / 452.5 MB, free: 42.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.2508, allocations: 0.6578 MB / 453.1 MB, free: 41.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/0.2516, allocations: 306.8 kB / 453.4 MB, free: 41.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008139/0.2598, allocations: 5.491 MB / 458.9 MB, free: 35.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.2605, allocations: 0.9181 MB / 459.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001434/0.2619, allocations: 0.9876 MB / 460.8 MB, free: 33.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.2622, allocations: 148.5 kB / 461 MB, free: 33.56 MB / 330.7 MB Notification: Performance of SimCode: time 2.574e-06/0.2622, allocations: 0 / 461 MB, free: 33.56 MB / 330.7 MB Notification: Performance of Templates: time 0.02897/0.2912, allocations: 22.23 MB / 483.2 MB, free: 11.67 MB / 330.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.422000387683511]