Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.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.001508/0.001508, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001806/0.001806, allocations: 173 kB / 23.36 MB, free: 1.133 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.9851/0.9851, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.03044/0.03044, allocations: 7.186 MB / 267.4 MB, free: 5.957 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.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") translateModel(PlanarMechanics.Examples.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.855e-05, allocations: 9.484 kB / 286.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.1227/0.1227, allocations: 10.05 MB / 296.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.1279, allocations: 3.085 MB / 299.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008643/0.1288, allocations: 51.56 kB / 299.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.1296, allocations: 471 kB / 299.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.1323, allocations: 1.704 MB / 301.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.1326, allocations: 220.6 kB / 301.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.1351, allocations: 3.103 MB / 304.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.1361, allocations: 1.054 MB / 305.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.1378, allocations: 1.686 MB / 307.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.1394, allocations: 1.475 MB / 309 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004544/0.1399, allocations: 279.2 kB / 309.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.1409, allocations: 0.895 MB / 310.1 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006121/0.1415, allocations: 1.464 MB / 311.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006896/0.1422, allocations: 1.008 MB / 312.6 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.1446, allocations: 3.766 MB / 316.4 MB, free: 1.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1446, allocations: 4 kB / 316.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1446, allocations: 0 / 316.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.007e-05/0.1446, allocations: 0 / 316.4 MB, free: 1.539 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: 1376 * Number of variables: 1376 Notification: Performance of Generate backend data structure: time 0.005204/0.1498, allocations: 4.511 MB / 320.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1499, allocations: 12.62 kB / 320.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.1529, allocations: 1.097 MB / 322 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.1544, allocations: 1.148 MB / 323.1 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.1545, allocations: 192.8 kB / 323.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.1548, allocations: 251.8 kB / 323.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/0.1599, allocations: 4.231 MB / 327.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.653e-05/0.16, allocations: 31.7 kB / 327.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.1602, allocations: 119.8 kB / 328 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/0.1618, allocations: 1.877 MB / 329.8 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.1655, allocations: 2.375 MB / 332.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.1823, allocations: 22.71 MB / 354.9 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/0.1861, allocations: 1.547 MB / 356.5 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.1866, allocations: 369.2 kB / 356.8 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003376/0.1899, allocations: 2.768 MB / 359.6 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.19, allocations: 43.88 kB / 359.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of pre-optimization done (n=184): time 3.376e-06/0.19, allocations: 0 / 359.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.008924/0.1989, allocations: 4.65 MB / 364.3 MB, free: 360 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1989, allocations: 77.41 kB / 364.4 MB, free: 272 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.2005, allocations: 2.061 MB / 366.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.2006, allocations: 53.7 kB / 366.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009523/0.2015, allocations: 2.462 MB / 368.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.202, allocations: 0.8832 MB / 369.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007799/0.2027, allocations: 0.9539 MB / 370.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.2028, allocations: 365.8 kB / 371.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/0.2036, allocations: 0.517 MB / 371.7 MB, free: 8.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.2053, allocations: 3.086 MB / 374.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.2085, allocations: 4.291 MB / 379 MB, free: 14.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-05/0.2086, allocations: 24 kB / 379.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=672) (initialization): time 0.00392/0.2125, allocations: 3.51 MB / 382.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.2125, allocations: 44 kB / 382.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.211e-05/0.2126, allocations: 92 kB / 382.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000962/0.2136, allocations: 0.5135 MB / 383.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.2153, allocations: 1.096 MB / 384.3 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005376/0.2207, allocations: 8.029 MB / 392.3 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.2221, allocations: 195.9 kB / 392.5 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.2224, allocations: 252 kB / 392.8 MB, free: 0.6875 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 587 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,17,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0008886/0.2233, allocations: 0.5054 MB / 393.3 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.2235, allocations: 199.8 kB / 393.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.2251, allocations: 1.314 MB / 394.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/0.2252, allocations: 28 kB / 394.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2252, allocations: 4 kB / 394.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.2252, allocations: 11.95 kB / 394.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004959/0.2301, allocations: 3.967 MB / 398.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.2301, allocations: 8 kB / 398.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.2308, allocations: 303.7 kB / 399.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008334/0.2316, allocations: 478.3 kB / 399.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/0.2317, allocations: 40 kB / 399.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.2356, allocations: 6.646 MB / 406.2 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.2356, allocations: 11.94 kB / 406.3 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.2377, allocations: 1.857 MB / 408.1 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.238, allocations: 218.3 kB / 408.3 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.2381, allocations: 43.97 kB / 408.4 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.2386, allocations: 44 kB / 408.4 MB, free: 292 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.2388, allocations: 157.6 kB / 408.6 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-05/0.2389, allocations: 55.92 kB / 408.6 MB, free: 80 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007132/0.2396, allocations: 0.7479 MB / 409.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2396, allocations: 0 / 409.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002544/0.2421, allocations: 0.8944 MB / 410.3 MB, free: 14.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (revolute1.phi,revolute1.w,revolute4.phi,revolute4.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 (175): * Single equations (assignments): 166 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,15,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002588/0.2424, allocations: 160.4 kB / 410.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.2451, allocations: 2.742 MB / 413.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.544e-05/0.2452, allocations: 56.38 kB / 413.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.2461, allocations: 1.175 MB / 414.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/0.247, allocations: 356.2 kB / 414.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007983/0.255, allocations: 6.732 MB / 421.5 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009666/0.2559, allocations: 1.08 MB / 422.6 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001008/0.257, allocations: 373.2 kB / 422.9 MB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006005/0.2576, allocations: 441.2 kB / 423.4 MB, free: 1.043 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2576, allocations: 4 kB / 423.4 MB, free: 1.039 MB / 378.7 MB Notification: Performance of Templates: time 0.1552/0.4128, allocations: 29.64 MB / 453 MB, free: 120.2 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.sim & ./PlanarMechanics_PlanarMechanics.Examples.KinematicLoop -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6502723288722336]