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.001339/0.001339, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001453/0.001453, allocations: 167 kB / 22.46 MB, free: 5.359 MB / 14.72 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.04623/0.04623, allocations: 7.114 MB / 266.3 MB, free: 9.781 MB / 254.1 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.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.493e-06/1.493e-06, allocations: 3.938 kB / 392.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.687e-05, allocations: 2.281 kB / 392.9 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.01097/0.01099, allocations: 7.782 MB / 400.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00632/0.01731, allocations: 2.596 MB / 403.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.01837, allocations: 39.88 kB / 403.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009571/0.01933, allocations: 393.2 kB / 403.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004145/0.02348, allocations: 1.509 MB / 405.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.02398, allocations: 179.6 kB / 405.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003618/0.02759, allocations: 2.656 MB / 408 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.029, allocations: 0.8246 MB / 408.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.03119, allocations: 1.43 MB / 410.3 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.03324, allocations: 1.336 MB / 411.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00045/0.03369, allocations: 240 kB / 411.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.03525, allocations: 0.8425 MB / 412.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.03658, allocations: 1.277 MB / 414 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.03787, allocations: 0.8447 MB / 414.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00687/0.04474, allocations: 5.054 MB / 419.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.04474, allocations: 0 / 419.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.04474, allocations: 0 / 419.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.04486, allocations: 0 / 419.9 MB, free: 14.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01037/0.05523, allocations: 3.964 MB / 423.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.05528, allocations: 12.62 kB / 423.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007335/0.06261, allocations: 1.855 MB / 425.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/0.06544, allocations: 1.349 MB / 427 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.06559, allocations: 156.1 kB / 427.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004751/0.06606, allocations: 204.2 kB / 427.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.0795, allocations: 7.974 MB / 435.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.143e-05/0.07958, allocations: 35.69 kB / 435.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.07988, allocations: 87.88 kB / 435.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003283/0.08317, allocations: 1.852 MB / 437.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.09732, allocations: 7.102 MB / 444.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1942/0.2915, allocations: 22.03 MB / 466.5 MB, free: 45.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00506/0.2966, allocations: 1.915 MB / 468.4 MB, free: 44.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.2976, allocations: 0.771 MB / 469.2 MB, free: 44.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005504/0.3031, allocations: 2.934 MB / 472.1 MB, free: 43.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.3032, allocations: 43.06 kB / 472.1 MB, free: 43.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.206e-06/0.3032, allocations: 0.6875 kB / 472.1 MB, free: 43.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=153): time 0.01183/0.315, allocations: 6.807 MB / 478.9 MB, free: 40.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.315, allocations: 65.97 kB / 479 MB, free: 40.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.3173, allocations: 2.269 MB / 481.3 MB, free: 39.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.636e-05/0.3173, allocations: 48.7 kB / 481.3 MB, free: 39.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.318, allocations: 2.2 MB / 483.5 MB, free: 37.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.3183, allocations: 0.5877 MB / 484.1 MB, free: 36.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008172/0.3191, allocations: 0.7959 MB / 484.9 MB, free: 36.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.3192, allocations: 353.9 kB / 485.2 MB, free: 35.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.3208, allocations: 1.284 MB / 486.5 MB, free: 34.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.323, allocations: 3.428 MB / 490 MB, free: 30.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.3273, allocations: 5.062 MB / 495 MB, free: 23.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.473e-05/0.3273, allocations: 28 kB / 495 MB, free: 23.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.006702/0.334, allocations: 4.858 MB / 499.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.3341, allocations: 38.06 kB / 499.9 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.362e-05/0.3341, allocations: 76.91 kB / 0.4883 GB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/0.3348, allocations: 315 kB / 0.4886 GB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.3371, allocations: 0.8578 MB / 0.4894 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.3405, allocations: 3.485 MB / 0.4928 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.343, allocations: 207.9 kB / 0.493 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/0.3432, allocations: 228 kB / 0.4933 GB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (472): * Single equations (assignments): 467 * 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.001916/0.3452, allocations: 1.565 MB / 0.4948 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.3455, allocations: 202.6 kB / 0.495 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.3482, allocations: 1.959 MB / 0.4969 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.721e-05/0.3483, allocations: 27.98 kB / 0.4969 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.3483, allocations: 7.922 kB / 0.4969 GB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.3484, allocations: 3.984 kB / 0.4969 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/0.3555, allocations: 4.612 MB / 0.5014 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3555, allocations: 4 kB / 0.5014 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007801/0.3562, allocations: 207.7 kB / 0.5016 GB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/0.3568, allocations: 200.7 kB / 0.5018 GB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.348e-05/0.3568, allocations: 36.05 kB / 0.5019 GB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.3593, allocations: 2.791 MB / 0.5046 GB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3593, allocations: 4 kB / 0.5046 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.3635, allocations: 3.033 MB / 0.5076 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009122/0.3644, allocations: 338.6 kB / 0.5079 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.3646, allocations: 32.28 kB / 0.5079 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008255/0.3655, allocations: 64.91 kB / 0.508 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.3657, allocations: 92.77 kB / 0.5081 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.855e-05/0.3658, allocations: 47.92 kB / 0.5081 GB, free: 14.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002074/0.3678, allocations: 1.33 MB / 0.5094 GB, free: 13.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3678, allocations: 0 / 0.5094 GB, free: 13.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00289/0.3707, allocations: 0.6675 MB / 0.5101 GB, free: 12.39 MB / 382.1 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.0003576/0.3711, allocations: 161.9 kB / 0.5102 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00529/0.3764, allocations: 3.039 MB / 0.5132 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3764, allocations: 0 / 0.5132 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.378, allocations: 0.97 MB / 0.5141 GB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.3795, allocations: 286 kB / 0.5144 GB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.3907, allocations: 6.487 MB / 0.5207 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/0.3936, allocations: 2.041 MB / 0.5227 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002661/0.3963, allocations: 1.127 MB / 0.5238 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/0.3967, allocations: 156.5 kB / 0.524 GB, free: 14.03 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3967, allocations: 0 / 0.524 GB, free: 14.03 MB / 398.1 MB Notification: Performance of Templates: time 0.04403/0.4407, allocations: 21.02 MB / 0.5445 GB, free: 9.32 MB / 414.1 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.230440083891153] Failed to read output from testmodel.py, exit status != 0: 0.4503421299159527 0.46560687199999995 0.417633692 Calling exit ...