Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.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.0008434/0.0008434, allocations: 76.55 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.0008263/0.0008263, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8357/0.8357, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.026/0.026, allocations: 7.115 MB / 267.1 MB, free: 6.332 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_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection") translateModel(PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 393.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.357e-05, allocations: 2.281 kB / 393.6 MB, free: 3.504 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection): time 0.006437/0.006461, allocations: 9.157 MB / 402.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.01071, allocations: 2.893 MB / 405.7 MB, free: 7.398 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006422/0.01136, allocations: 51.81 kB / 405.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.01203, allocations: 464.6 kB / 406.2 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.01412, allocations: 1.691 MB / 407.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.01445, allocations: 219.5 kB / 408.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.01627, allocations: 3.078 MB / 411.2 MB, free: 1.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000753/0.01703, allocations: 0.9794 MB / 412.2 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1377/0.1547, allocations: 1.677 MB / 413.8 MB, free: 16.76 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.1564, allocations: 1.509 MB / 415.3 MB, free: 16.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002913/0.1567, allocations: 280.7 kB / 415.6 MB, free: 16.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.1577, allocations: 0.8749 MB / 416.5 MB, free: 16.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007732/0.1585, allocations: 1.453 MB / 417.9 MB, free: 16.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00072/0.1592, allocations: 0.9983 MB / 418.9 MB, free: 16.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004139/0.1633, allocations: 5.66 MB / 424.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1633, allocations: 0 / 424.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1633, allocations: 0 / 424.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.141e-05/0.1634, allocations: 5.438 kB / 424.6 MB, free: 15.88 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.008468/0.1719, allocations: 5.805 MB / 430.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1719, allocations: 10.12 kB / 430.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.1753, allocations: 1.863 MB / 432.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.1771, allocations: 1.52 MB / 433.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.71e-05/0.1772, allocations: 186.9 kB / 434 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.1775, allocations: 250.7 kB / 434.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007121/0.1847, allocations: 9.325 MB / 443.6 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-05/0.1847, allocations: 30.16 kB / 443.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.185, allocations: 121.5 kB / 443.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001445/0.1864, allocations: 2.073 MB / 445.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008216/0.1946, allocations: 8.252 MB / 454 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/0.2157, allocations: 27.43 MB / 481.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.2199, allocations: 2.617 MB / 484.1 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.221, allocations: 1.032 MB / 485.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003842/0.2248, allocations: 3.395 MB / 488.5 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2248, allocations: 43.88 kB / 488.5 MB, free: 8.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=179): time 3.496e-06/0.2248, allocations: 2.531 kB / 488.5 MB, free: 8.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=239): time 0.01686/0.2417, allocations: 12.25 MB / 0.4891 GB, free: 12.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005093/0.2468, allocations: 6.616 MB / 0.4955 GB, free: 5.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.2493, allocations: 2.618 MB / 0.4981 GB, free: 2.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-05/0.2494, allocations: 54.41 kB / 0.4981 GB, free: 2.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.2505, allocations: 2.534 MB / 0.5006 GB, free: 308 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004906/0.2509, allocations: 0.8855 MB / 0.5015 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009267/0.2519, allocations: 1.007 MB / 0.5025 GB, free: 14.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.252, allocations: 360 kB / 0.5028 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.2538, allocations: 1.708 MB / 0.5045 GB, free: 12.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.2566, allocations: 4.34 MB / 0.5087 GB, free: 6.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004934/0.2615, allocations: 6.531 MB / 0.5151 GB, free: 14.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.814e-05/0.2616, allocations: 24 kB / 0.5151 GB, free: 14.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=668) (initialization): time 0.006862/0.2684, allocations: 6.617 MB / 0.5216 GB, free: 8.332 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.2685, allocations: 44 kB / 0.5216 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.896e-05/0.2685, allocations: 95.94 kB / 0.5217 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.2696, allocations: 0.7062 MB / 0.5224 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.2713, allocations: 1.072 MB / 0.5234 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008427/0.2797, allocations: 11.56 MB / 0.5347 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.2816, allocations: 300.2 kB / 0.535 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.2819, allocations: 299 kB / 0.5353 GB, free: 9.844 MB / 442.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 (590): * Single equations (assignments): 579 * Array equations: 6 * 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.002471/0.2844, allocations: 1.796 MB / 0.5371 GB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.2846, allocations: 254.3 kB / 0.5373 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/0.2882, allocations: 3.422 MB / 0.5406 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003075/0.2913, allocations: 3.009 MB / 0.5436 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.2913, allocations: 8 kB / 0.5436 GB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.2913, allocations: 11.95 kB / 0.5436 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.3019, allocations: 9.418 MB / 0.5528 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.3019, allocations: 0 / 0.5528 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/0.3025, allocations: 276 kB / 0.5531 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.3036, allocations: 0.7712 MB / 0.5538 GB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.3037, allocations: 51.97 kB / 0.5539 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008108/0.3118, allocations: 11.39 MB / 0.565 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00396/0.3157, allocations: 5.697 MB / 0.5705 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1511/0.4669, allocations: 5.033 MB / 0.5755 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005846/0.4674, allocations: 232.6 kB / 0.5757 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004132/0.4679, allocations: 48.72 kB / 0.5757 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006512/0.4685, allocations: 115.7 kB / 0.5758 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.4688, allocations: 165.8 kB / 0.576 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/0.4689, allocations: 66.58 kB / 0.5761 GB, free: 149.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001718/0.4706, allocations: 1.518 MB / 0.5775 GB, free: 149.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4706, allocations: 0 / 0.5775 GB, free: 149.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00275/0.4734, allocations: 0.9769 MB / 0.5785 GB, free: 149.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 ($STATESET2.x,$STATESET1.x[2],$STATESET1.x[1],revolute4.phi) * 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 (158): * Single equations (assignments): 149 * 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%), (4,12,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002873/0.4737, allocations: 183.2 kB / 0.5787 GB, free: 149.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004238/0.4779, allocations: 4.651 MB / 0.5832 GB, free: 148.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4779, allocations: 0.9844 kB / 0.5832 GB, free: 148.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.4796, allocations: 2.041 MB / 0.5852 GB, free: 148 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009633/0.4806, allocations: 326 kB / 0.5855 GB, free: 147.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007954/0.4885, allocations: 8.689 MB / 0.594 GB, free: 143.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.4902, allocations: 2.425 MB / 0.5964 GB, free: 143.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.4906, allocations: 244.6 kB / 0.5966 GB, free: 143.2 MB / 474.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4906, allocations: 0 / 0.5966 GB, free: 143.2 MB / 474.7 MB Notification: Performance of Templates: time 0.05986/0.5505, allocations: 140.1 MB / 0.7334 GB, free: 10.7 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.sim & ./PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.600108849816024] Failed to read output from testmodel.py, exit status != 0: 0.555706799030304 0.561500114 0.39647973000000003 Calling exit ...