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.001357/0.001357, allocations: 113 kB / 18.94 MB, free: 2.934 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.001858/0.001858, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.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.04969/0.04969, allocations: 9.239 MB / 321.7 MB, free: 10.08 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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 67.89 kB / 448.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1568, allocations: 55.47 MB / 0.4919 GB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.01237/0.1692, allocations: 8.389 MB / 0.5001 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006914/0.1761, allocations: 2.643 MB / 0.5027 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.1777, allocations: 39.88 kB / 0.5027 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.1787, allocations: 369.5 kB / 0.5031 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.1825, allocations: 1.444 MB / 0.5045 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1829, allocations: 127.8 kB / 0.5046 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003402/0.1863, allocations: 2.493 MB / 0.507 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.1875, allocations: 0.7416 MB / 0.5077 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.1888, allocations: 0.9027 MB / 0.5086 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.1907, allocations: 1.413 MB / 0.51 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.1911, allocations: 228 kB / 0.5102 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.1928, allocations: 0.8893 MB / 0.5111 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.194, allocations: 1.215 MB / 0.5123 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.1956, allocations: 1.526 MB / 0.5138 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2912/0.4868, allocations: 4.941 MB / 0.5186 GB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4868, allocations: 0 / 0.5186 GB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.4868, allocations: 1.281 kB / 0.5186 GB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.487, allocations: 0 / 0.5186 GB, free: 12.29 MB / 382.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.01105/0.4981, allocations: 3.863 MB / 0.5224 GB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4981, allocations: 10.38 kB / 0.5224 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007117/0.5053, allocations: 1.781 MB / 0.5241 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/0.5093, allocations: 1.286 MB / 0.5254 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.5095, allocations: 148.2 kB / 0.5255 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006876/0.5102, allocations: 194.4 kB / 0.5257 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.5263, allocations: 7.911 MB / 0.5334 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.821e-05/0.5263, allocations: 24.39 kB / 0.5335 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/0.5266, allocations: 90.3 kB / 0.5335 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002902/0.5295, allocations: 1.852 MB / 0.5353 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/0.5455, allocations: 7.126 MB / 0.5423 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04592/0.5914, allocations: 23.79 MB / 0.5655 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006339/0.5977, allocations: 1.841 MB / 0.5673 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/0.5995, allocations: 0.7659 MB / 0.5681 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008387/0.6079, allocations: 3.164 MB / 0.5712 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/0.6079, allocations: 43.56 kB / 0.5712 GB, free: 11.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.94e-06/0.6079, allocations: 0 / 0.5712 GB, free: 11.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.017/0.6249, allocations: 6.841 MB / 0.5779 GB, free: 4.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.625, allocations: 69.28 kB / 0.578 GB, free: 4.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005473/0.6305, allocations: 2.584 MB / 0.5805 GB, free: 1.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.6307, allocations: 49.69 kB / 0.5805 GB, free: 1.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.633, allocations: 2.14 MB / 0.5826 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.6341, allocations: 0.5942 MB / 0.5832 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/0.6355, allocations: 0.7746 MB / 0.584 GB, free: 14.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6357, allocations: 306.8 kB / 0.5843 GB, free: 14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/0.6381, allocations: 1.276 MB / 0.5855 GB, free: 12.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004638/0.6428, allocations: 3.379 MB / 0.5888 GB, free: 8.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007742/0.6505, allocations: 4.982 MB / 0.5937 GB, free: 2.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-05/0.6506, allocations: 27.56 kB / 0.5937 GB, free: 2.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01108/0.6617, allocations: 4.83 MB / 0.5984 GB, free: 14.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.461e-05/0.6617, allocations: 38.66 kB / 0.5984 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.6618, allocations: 76.08 kB / 0.5985 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008088/0.6627, allocations: 301.1 kB / 0.5988 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.6658, allocations: 0.8625 MB / 0.5996 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005248/0.671, allocations: 3.553 MB / 0.6031 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/0.6742, allocations: 187.9 kB / 0.6033 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006289/0.6748, allocations: 228 kB / 0.6035 GB, free: 8.688 MB / 446.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.003164/0.678, allocations: 1.554 MB / 0.605 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000581/0.6785, allocations: 230.5 kB / 0.6052 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.6827, allocations: 1.997 MB / 0.6072 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001107/0.6828, allocations: 27.19 kB / 0.6072 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.6828, allocations: 5.688 kB / 0.6072 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.6828, allocations: 14.59 kB / 0.6072 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.6944, allocations: 5.602 MB / 0.6127 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.6944, allocations: 8.812 kB / 0.6127 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/0.6953, allocations: 199.8 kB / 0.6129 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/0.6959, allocations: 220.9 kB / 0.6131 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/0.696, allocations: 31.98 kB / 0.6132 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00388/0.6999, allocations: 2.849 MB / 0.6159 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6999, allocations: 0 / 0.6159 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005258/0.7051, allocations: 3.099 MB / 0.619 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007547/0.7059, allocations: 226.5 kB / 0.6192 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.7062, allocations: 31.81 kB / 0.6192 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/0.707, allocations: 63.92 kB / 0.6193 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.7072, allocations: 88.72 kB / 0.6194 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.7073, allocations: 54.61 kB / 0.6194 GB, free: 8.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003098/0.7104, allocations: 1.667 MB / 0.621 GB, free: 6.473 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7104, allocations: 0 / 0.621 GB, free: 6.473 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003548/0.7139, allocations: 0.664 MB / 0.6217 GB, free: 5.809 MB / 462.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.0004191/0.7143, allocations: 163 kB / 0.6218 GB, free: 5.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005896/0.7202, allocations: 3.032 MB / 0.6248 GB, free: 2.617 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7203, allocations: 192 / 0.6248 GB, free: 2.617 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.7219, allocations: 0.961 MB / 0.6257 GB, free: 1.648 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.7241, allocations: 382.9 kB / 0.6261 GB, free: 1.289 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.7375, allocations: 6.585 MB / 0.6325 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003219/0.7407, allocations: 2.562 MB / 0.635 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002904/0.7436, allocations: 1.172 MB / 0.6362 GB, free: 6.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.7441, allocations: 171.4 kB / 0.6363 GB, free: 6.727 MB / 478.1 MB Notification: Performance of SimCode: time 1.363e-06/0.7441, allocations: 0 / 0.6363 GB, free: 6.727 MB / 478.1 MB Notification: Performance of Templates: time 0.05785/0.8019, allocations: 27.61 MB / 0.6633 GB, free: 11.31 MB / 0.4981 GB " [Timeout remaining time 659] 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: 6.407523163128644] Failed to read output from testmodel.py, exit status != 0: 0.8114897650666535 0.826332625 0.33629546000000005 Calling exit ...