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.001356/0.001356, allocations: 78.25 kB / 19.18 MB, free: 2.512 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.001518/0.001518, allocations: 163.7 kB / 22.46 MB, free: 5.367 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.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.152 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.04667/0.04667, allocations: 7.108 MB / 266.3 MB, free: 9.75 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.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.252e-06/1.252e-06, allocations: 0 / 392.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/2.995e-05, allocations: 5.094 kB / 392.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.009301/0.009331, allocations: 7.347 MB / 400.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005159/0.01449, allocations: 2.503 MB / 402.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007923/0.01528, allocations: 43.81 kB / 402.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.01616, allocations: 369.4 kB / 403.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.01941, allocations: 1.482 MB / 404.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.01974, allocations: 135.7 kB / 404.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002872/0.02262, allocations: 2.536 MB / 407.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.02364, allocations: 0.7492 MB / 408 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.02527, allocations: 1.356 MB / 409.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.02716, allocations: 1.301 MB / 410.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.02755, allocations: 232 kB / 410.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.02905, allocations: 0.823 MB / 411.7 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.03023, allocations: 1.258 MB / 413 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.03124, allocations: 0.8097 MB / 413.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005631/0.03687, allocations: 4.929 MB / 418.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.03687, allocations: 4 kB / 418.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.03688, allocations: 0 / 418.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.444e-05/0.03694, allocations: 0 / 418.7 MB, free: 15.24 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: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.009004/0.04594, allocations: 3.858 MB / 422.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.04599, allocations: 8.625 kB / 422.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007027/0.05301, allocations: 1.847 MB / 424.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.05561, allocations: 1.285 MB / 425.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.05574, allocations: 152 kB / 425.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004094/0.05615, allocations: 196.2 kB / 426.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.06909, allocations: 7.883 MB / 434 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.287e-05/0.06917, allocations: 31.7 kB / 434 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.06947, allocations: 91.81 kB / 434.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003124/0.07259, allocations: 1.848 MB / 435.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.08606, allocations: 7.055 MB / 443 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1984/0.2845, allocations: 21.52 MB / 464.5 MB, free: 45.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008256/0.2927, allocations: 1.912 MB / 466.4 MB, free: 45.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.2946, allocations: 0.7553 MB / 467.2 MB, free: 45.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008596/0.3032, allocations: 2.891 MB / 470.1 MB, free: 44.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.3032, allocations: 44.44 kB / 470.1 MB, free: 43.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=129): time 5.451e-06/0.3032, allocations: 0 / 470.1 MB, free: 43.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=153): time 0.01808/0.3213, allocations: 6.853 MB / 477 MB, free: 41.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3214, allocations: 64.62 kB / 477 MB, free: 41.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004117/0.3255, allocations: 2.189 MB / 479.2 MB, free: 40.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.3256, allocations: 45.39 kB / 479.3 MB, free: 40.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.3267, allocations: 2.15 MB / 481.4 MB, free: 38.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.3272, allocations: 0.5853 MB / 482 MB, free: 38.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.3286, allocations: 0.7777 MB / 482.8 MB, free: 37.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.3286, allocations: 349.2 kB / 483.1 MB, free: 37.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.3313, allocations: 1.267 MB / 484.4 MB, free: 36.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/0.3348, allocations: 3.367 MB / 487.7 MB, free: 32.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/0.3409, allocations: 4.981 MB / 492.7 MB, free: 26.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.025e-05/0.341, allocations: 24 kB / 492.7 MB, free: 26.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.006993/0.348, allocations: 4.776 MB / 497.5 MB, free: 21.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.3481, allocations: 38.16 kB / 497.6 MB, free: 21.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.172e-05/0.3481, allocations: 72.16 kB / 497.6 MB, free: 21.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000714/0.3489, allocations: 313.1 kB / 497.9 MB, free: 21.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.3512, allocations: 0.8539 MB / 498.8 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/0.3548, allocations: 3.488 MB / 0.4905 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.3571, allocations: 195.9 kB / 0.4907 GB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003026/0.3574, allocations: 227.8 kB / 0.4909 GB, free: 16.27 MB / 366.1 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.00184/0.3593, allocations: 1.558 MB / 0.4924 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/0.3597, allocations: 190.7 kB / 0.4926 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002748/0.3624, allocations: 1.935 MB / 0.4945 GB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.651e-05/0.3625, allocations: 33.06 kB / 0.4945 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3625, allocations: 7.938 kB / 0.4945 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.3625, allocations: 7.922 kB / 0.4946 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00732/0.3698, allocations: 4.573 MB / 0.499 GB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3698, allocations: 352 / 0.499 GB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.3706, allocations: 211.7 kB / 0.4992 GB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005378/0.3711, allocations: 211.5 kB / 0.4994 GB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.3712, allocations: 27.98 kB / 0.4994 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.3738, allocations: 2.795 MB / 0.5022 GB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3738, allocations: 8.062 kB / 0.5022 GB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/0.3774, allocations: 3.021 MB / 0.5051 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.3779, allocations: 178.8 kB / 0.5053 GB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.3782, allocations: 24 kB / 0.5053 GB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008608/0.3791, allocations: 68.2 kB / 0.5054 GB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.3792, allocations: 96.7 kB / 0.5055 GB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.731e-05/0.3793, allocations: 47.98 kB / 0.5055 GB, free: 1.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001955/0.3813, allocations: 1.28 MB / 0.5068 GB, free: 15.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3813, allocations: 0 / 0.5068 GB, free: 15.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003045/0.3843, allocations: 0.663 MB / 0.5074 GB, free: 15.15 MB / 382.1 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.0004293/0.3847, allocations: 159 kB / 0.5076 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006005/0.3907, allocations: 2.997 MB / 0.5105 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.3908, allocations: 4.062 kB / 0.5105 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.3927, allocations: 0.957 MB / 0.5114 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.395, allocations: 267.4 kB / 0.5117 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.4083, allocations: 6.37 MB / 0.5179 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/0.4117, allocations: 2.006 MB / 0.5199 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002927/0.4147, allocations: 1.13 MB / 0.521 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.4152, allocations: 144.5 kB / 0.5211 GB, free: 1.035 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4152, allocations: 4 kB / 0.5211 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Templates: time 0.04347/0.4587, allocations: 20.33 MB / 0.541 GB, free: 12.98 MB / 414.1 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: 5.239101842045784] Failed to read output from testmodel.py, exit status != 0: 0.46959372609853745 0.49734967 0.45473654300000005 Calling exit ...