Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.0008693/0.0008693, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001007/0.001007, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9032/0.9032, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.02728/0.02728, allocations: 7.115 MB / 267.1 MB, free: 6.32 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.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 393.6 MB, free: 3.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.901e-05, allocations: 5.375 kB / 393.6 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.006316/0.006345, allocations: 7.336 MB / 401 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.01121, allocations: 2.507 MB / 403.5 MB, free: 9.605 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.01248, allocations: 39.88 kB / 403.5 MB, free: 9.566 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.01335, allocations: 377.4 kB / 403.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.01635, allocations: 1.478 MB / 405.4 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.01666, allocations: 127.8 kB / 405.5 MB, free: 7.586 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003336/0.02, allocations: 2.54 MB / 408 MB, free: 5.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.02149, allocations: 0.7414 MB / 408.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.02383, allocations: 1.36 MB / 410.1 MB, free: 2.914 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.02558, allocations: 1.309 MB / 411.4 MB, free: 1.602 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005833/0.02616, allocations: 228 kB / 411.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.02753, allocations: 0.8307 MB / 412.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1608/0.1883, allocations: 1.253 MB / 413.8 MB, free: 18.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.1897, allocations: 0.8142 MB / 414.6 MB, free: 18.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007248/0.1969, allocations: 4.922 MB / 419.5 MB, free: 18.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.1969, allocations: 3.5 kB / 419.5 MB, free: 18.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1969, allocations: 0 / 419.5 MB, free: 18.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002197/0.1971, allocations: 0 / 419.5 MB, free: 18.08 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: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.01132/0.2085, allocations: 3.857 MB / 423.3 MB, free: 16.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.641e-05/0.2085, allocations: 10.31 kB / 423.4 MB, free: 16.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004241/0.2128, allocations: 1.793 MB / 425.2 MB, free: 16.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.2153, allocations: 1.306 MB / 426.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.2154, allocations: 145.5 kB / 426.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.2157, allocations: 196.9 kB / 426.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.2259, allocations: 7.918 MB / 434.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-05/0.226, allocations: 23.14 kB / 434.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.2262, allocations: 96.39 kB / 434.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/0.2279, allocations: 1.85 MB / 436.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.238, allocations: 7.124 MB / 443.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/0.2617, allocations: 21.57 MB / 465.4 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00343/0.2652, allocations: 1.909 MB / 467.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008677/0.266, allocations: 0.7692 MB / 468 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004287/0.2703, allocations: 2.896 MB / 470.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2704, allocations: 46.09 kB / 471 MB, free: 11.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 3.847e-06/0.2704, allocations: 0 / 471 MB, free: 11.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=153): time 0.009914/0.2803, allocations: 6.902 MB / 477.9 MB, free: 4.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.2803, allocations: 64.72 kB / 478 MB, free: 4.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/0.2829, allocations: 2.209 MB / 480.2 MB, free: 2.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.283, allocations: 44.75 kB / 480.2 MB, free: 2.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.2841, allocations: 2.142 MB / 482.3 MB, free: 48 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00047/0.2845, allocations: 0.5819 MB / 482.9 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008027/0.2853, allocations: 0.7732 MB / 483.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2854, allocations: 353.9 kB / 484 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.287, allocations: 1.272 MB / 485.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.2895, allocations: 3.378 MB / 488.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/0.2937, allocations: 5 MB / 493.7 MB, free: 2.773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.248e-05/0.2937, allocations: 23.94 kB / 493.7 MB, free: 2.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.005898/0.2996, allocations: 4.791 MB / 498.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.2997, allocations: 39.98 kB / 498.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.848e-05/0.2997, allocations: 76 kB / 498.6 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/0.3002, allocations: 308.6 kB / 498.9 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.3017, allocations: 0.8461 MB / 499.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.3047, allocations: 3.501 MB / 0.4915 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.3064, allocations: 191.9 kB / 0.4917 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/0.3066, allocations: 228 kB / 0.4919 GB, free: 8.699 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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 (463): * Single equations (assignments): 458 * 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.002406/0.309, allocations: 1.557 MB / 0.4934 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.3093, allocations: 190.7 kB / 0.4936 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.3114, allocations: 1.961 MB / 0.4955 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/0.3114, allocations: 27.98 kB / 0.4955 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3114, allocations: 3.625 kB / 0.4955 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3114, allocations: 3.984 kB / 0.4955 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/0.3173, allocations: 4.591 MB / 0.5 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3173, allocations: 3.938 kB / 0.5 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.3178, allocations: 203.8 kB / 0.5002 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.3182, allocations: 225 kB / 0.5004 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.3182, allocations: 24 kB / 0.5005 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.3206, allocations: 2.793 MB / 0.5032 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3206, allocations: 4 kB / 0.5032 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/0.324, allocations: 3.049 MB / 0.5062 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005937/0.3246, allocations: 178.8 kB / 0.5063 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.3248, allocations: 31.77 kB / 0.5064 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.3252, allocations: 67.86 kB / 0.5064 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.3254, allocations: 92.77 kB / 0.5065 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.3254, allocations: 44 kB / 0.5066 GB, free: 9.449 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001712/0.3271, allocations: 1.292 MB / 0.5078 GB, free: 8.164 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3271, allocations: 4 kB / 0.5078 GB, free: 8.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002661/0.3298, allocations: 0.6523 MB / 0.5085 GB, free: 7.508 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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.0004057/0.3302, allocations: 159.3 kB / 0.5086 GB, free: 7.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003856/0.3341, allocations: 3.021 MB / 0.5116 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3341, allocations: 192 / 0.5116 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009823/0.3351, allocations: 0.9694 MB / 0.5125 GB, free: 3.348 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3361, allocations: 262.4 kB / 0.5128 GB, free: 3.102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009163/0.3453, allocations: 6.742 MB / 0.5193 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/0.3471, allocations: 1.998 MB / 0.5213 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.3476, allocations: 192.5 kB / 0.5215 GB, free: 10.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3476, allocations: 0 / 0.5215 GB, free: 10.07 MB / 426.7 MB Notification: Performance of Templates: time 0.04988/0.3975, allocations: 54.31 MB / 0.5745 GB, free: 3.852 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.166383847594261] Failed to read output from testmodel.py, exit status != 0: 0.40478931553661823 0.554173811 0.35458112199999997 Calling exit ...