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.0008897/0.0008897, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.001033/0.001033, allocations: 173.9 kB / 23.21 MB, free: 1.34 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.8614/0.8614, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.02627/0.02627, allocations: 7.112 MB / 267.1 MB, free: 6.34 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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.122e-06/1.122e-06, allocations: 0 / 393.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.15e-05, allocations: 5.516 kB / 393.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.007029/0.00705, allocations: 9.161 MB / 402.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004005/0.01106, allocations: 2.885 MB / 405.7 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007071/0.01176, allocations: 51.81 kB / 405.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008584/0.01262, allocations: 464.6 kB / 406.2 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.01475, allocations: 1.695 MB / 407.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.01505, allocations: 211.5 kB / 408.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002013/0.01706, allocations: 3.082 MB / 411.2 MB, free: 1.902 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000666/0.01772, allocations: 0.9795 MB / 412.2 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1479/0.1656, allocations: 1.674 MB / 413.8 MB, free: 16.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.1678, allocations: 1.509 MB / 415.3 MB, free: 16.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.1682, allocations: 280.1 kB / 415.6 MB, free: 16.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1694, allocations: 0.8664 MB / 416.5 MB, free: 16.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009164/0.1703, allocations: 1.457 MB / 417.9 MB, free: 16.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007902/0.1711, allocations: 0.9986 MB / 418.9 MB, free: 16.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.1755, allocations: 5.666 MB / 424.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1755, allocations: 3 kB / 424.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1755, allocations: 0 / 424.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.568e-05/0.1756, allocations: 1.125 kB / 424.6 MB, free: 15.92 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: 1368 * Number of variables: 1368 Notification: Performance of Generate backend data structure: time 0.008072/0.1837, allocations: 5.799 MB / 430.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1837, allocations: 10.88 kB / 430.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/0.1873, allocations: 1.867 MB / 432.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.1891, allocations: 1.52 MB / 433.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1892, allocations: 189.5 kB / 434 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/0.1895, allocations: 252.6 kB / 434.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007228/0.1967, allocations: 9.327 MB / 443.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.1968, allocations: 29.78 kB / 443.6 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.197, allocations: 114.5 kB / 443.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001467/0.1984, allocations: 2.074 MB / 445.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008779/0.2072, allocations: 8.255 MB / 454 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.2292, allocations: 27.44 MB / 481.5 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004805/0.234, allocations: 2.611 MB / 484.1 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.235, allocations: 1.041 MB / 485.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003912/0.2389, allocations: 3.389 MB / 488.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.239, allocations: 43.88 kB / 488.5 MB, free: 8.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=179): time 3.055e-06/0.239, allocations: 0 / 488.5 MB, free: 8.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01301/0.252, allocations: 8.354 MB / 496.9 MB, free: 304 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000321/0.2523, allocations: 73.41 kB / 497 MB, free: 220 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.2547, allocations: 2.614 MB / 499.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/0.2548, allocations: 57.7 kB / 499.6 MB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/0.2558, allocations: 2.53 MB / 0.4904 GB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.2562, allocations: 0.874 MB / 0.4913 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008805/0.2571, allocations: 0.9862 MB / 0.4922 GB, free: 9.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003464/0.2575, allocations: 357.9 kB / 0.4926 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.2591, allocations: 1.63 MB / 0.4942 GB, free: 7.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/0.2622, allocations: 4.25 MB / 0.4983 GB, free: 1.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004867/0.2671, allocations: 6.397 MB / 0.5046 GB, free: 10.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.606e-05/0.2671, allocations: 28 kB / 0.5046 GB, free: 10.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=659) (initialization): time 0.006253/0.2734, allocations: 6.433 MB / 0.5109 GB, free: 3.566 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.2734, allocations: 44.94 kB / 0.5109 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-05/0.2735, allocations: 92 kB / 0.511 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.2747, allocations: 0.695 MB / 0.5117 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.2764, allocations: 1.053 MB / 0.5127 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008334/0.2847, allocations: 11.57 MB / 0.524 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.2865, allocations: 255.8 kB / 0.5242 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.2868, allocations: 287.9 kB / 0.5245 GB, free: 5.168 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * 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 (583): * Single equations (assignments): 574 * 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.002467/0.2893, allocations: 1.788 MB / 0.5263 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.2895, allocations: 250.4 kB / 0.5265 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.2926, allocations: 3.07 MB / 0.5295 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.478e-05/0.2927, allocations: 40.97 kB / 0.5295 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2927, allocations: 8 kB / 0.5295 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.2927, allocations: 11.91 kB / 0.5296 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007609/0.3003, allocations: 6.976 MB / 0.5364 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3003, allocations: 7.938 kB / 0.5364 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/0.3009, allocations: 308 kB / 0.5367 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007225/0.3016, allocations: 0.5298 MB / 0.5372 GB, free: 8.039 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.3017, allocations: 47.98 kB / 0.5372 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00681/0.3085, allocations: 9.443 MB / 0.5465 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.3085, allocations: 8.109 kB / 0.5465 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/0.3129, allocations: 4.631 MB / 0.551 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.3133, allocations: 230.6 kB / 0.5512 GB, free: 9.215 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.3135, allocations: 40 kB / 0.5512 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.314, allocations: 95.88 kB / 0.5513 GB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.3142, allocations: 157.5 kB / 0.5515 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/0.3143, allocations: 67.73 kB / 0.5515 GB, free: 8.863 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001583/0.3159, allocations: 1.521 MB / 0.553 GB, free: 7.324 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3159, allocations: 7.938 kB / 0.553 GB, free: 7.316 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002925/0.3188, allocations: 0.8749 MB / 0.5539 GB, free: 6.441 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (170): * Single equations (assignments): 161 * 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.0003065/0.3191, allocations: 178 kB / 0.5541 GB, free: 6.262 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004153/0.3232, allocations: 4.488 MB / 0.5584 GB, free: 1.742 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3232, allocations: 0 / 0.5584 GB, free: 1.742 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.3247, allocations: 1.807 MB / 0.5602 GB, free: 15.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.3258, allocations: 322.2 kB / 0.5605 GB, free: 15.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008758/0.3346, allocations: 8.289 MB / 0.5686 GB, free: 7.203 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.3366, allocations: 2.393 MB / 0.571 GB, free: 4.777 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.337, allocations: 232.4 kB / 0.5712 GB, free: 4.551 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/0.337, allocations: 4 kB / 0.5712 GB, free: 4.547 MB / 474.7 MB Notification: Performance of Templates: time 0.2122/0.5491, allocations: 138.2 MB / 0.7061 GB, free: 38.08 MB / 474.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.6178374867886305] Failed to read output from testmodel.py, exit status != 0: 0.5543104996904731 0.559687868 0.38283169300000003 Calling exit ...