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.001533/0.001533, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001829/0.001829, allocations: 221.7 kB / 23 MB, free: 4.914 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.04695/0.04695, allocations: 9.237 MB / 322.4 MB, free: 9.859 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.001998/0.001998, allocations: 59.91 kB / 448.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1021, allocations: 55.48 MB / 0.4926 GB, free: 6.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.009338/0.1114, allocations: 7.339 MB / 0.4997 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.1164, allocations: 2.484 MB / 0.5022 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006742/0.1171, allocations: 35.88 kB / 0.5022 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007779/0.1179, allocations: 381.5 kB / 0.5026 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.1208, allocations: 1.444 MB / 0.504 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1211, allocations: 123.8 kB / 0.5041 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002745/0.1239, allocations: 2.482 MB / 0.5065 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009603/0.1249, allocations: 0.7337 MB / 0.5072 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.1259, allocations: 0.9027 MB / 0.5081 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.1276, allocations: 1.358 MB / 0.5094 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003649/0.1279, allocations: 228 kB / 0.5097 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1293, allocations: 0.7723 MB / 0.5104 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.1304, allocations: 1.215 MB / 0.5116 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.1315, allocations: 1.075 MB / 0.5126 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1939/0.3254, allocations: 4.943 MB / 0.5175 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3254, allocations: 0 / 0.5175 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.3254, allocations: 0 / 0.5175 GB, free: 12.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001784/0.3256, allocations: 0.5312 kB / 0.5175 GB, free: 12.84 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.01066/0.3363, allocations: 3.866 MB / 0.5212 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3363, allocations: 10.41 kB / 0.5213 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006556/0.3429, allocations: 1.782 MB / 0.523 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.3455, allocations: 1.302 MB / 0.5243 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.3456, allocations: 147 kB / 0.5244 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003907/0.346, allocations: 192.2 kB / 0.5246 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.3578, allocations: 7.914 MB / 0.5323 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.3579, allocations: 22.84 kB / 0.5323 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005781/0.3585, allocations: 94.34 kB / 0.5324 GB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00286/0.3613, allocations: 1.848 MB / 0.5342 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.3736, allocations: 7.113 MB / 0.5412 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02921/0.4028, allocations: 21.52 MB / 0.5622 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004779/0.4076, allocations: 1.838 MB / 0.564 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.4088, allocations: 0.7611 MB / 0.5647 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006159/0.415, allocations: 2.874 MB / 0.5675 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.495e-05/0.415, allocations: 43.56 kB / 0.5676 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.556e-06/0.415, allocations: 0 / 0.5676 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.01468/0.4297, allocations: 6.8 MB / 0.5742 GB, free: 9.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.4298, allocations: 64.72 kB / 0.5743 GB, free: 9.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.433, allocations: 2.201 MB / 0.5764 GB, free: 6.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.4332, allocations: 45.7 kB / 0.5765 GB, free: 6.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.4347, allocations: 2.16 MB / 0.5786 GB, free: 4.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/0.4353, allocations: 0.5975 MB / 0.5792 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.4364, allocations: 0.7815 MB / 0.5799 GB, free: 3.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4366, allocations: 349.9 kB / 0.5803 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.4386, allocations: 1.276 MB / 0.5815 GB, free: 1.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00377/0.4424, allocations: 3.377 MB / 0.5848 GB, free: 13.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00612/0.4485, allocations: 4.996 MB / 0.5897 GB, free: 7.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.286e-05/0.4485, allocations: 20.66 kB / 0.5897 GB, free: 7.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.00784/0.4564, allocations: 4.796 MB / 0.5944 GB, free: 3.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.4564, allocations: 40.22 kB / 0.5944 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.682e-05/0.4565, allocations: 76.86 kB / 0.5945 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/0.4572, allocations: 308.5 kB / 0.5948 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.4597, allocations: 0.85 MB / 0.5956 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/0.4644, allocations: 3.484 MB / 0.599 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/0.467, allocations: 199 kB / 0.5992 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/0.4674, allocations: 231.9 kB / 0.5994 GB, free: 13.81 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.003052/0.4704, allocations: 1.554 MB / 0.601 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/0.4709, allocations: 194.7 kB / 0.6011 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003644/0.4746, allocations: 1.961 MB / 0.6031 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.905e-05/0.4747, allocations: 23.98 kB / 0.6031 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.4747, allocations: 7.938 kB / 0.6031 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.4747, allocations: 3.984 kB / 0.6031 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009454/0.4841, allocations: 4.564 MB / 0.6076 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.4842, allocations: 4 kB / 0.6076 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.4849, allocations: 199.8 kB / 0.6077 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005827/0.4855, allocations: 217 kB / 0.608 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.704e-05/0.4856, allocations: 35.97 kB / 0.608 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/0.4891, allocations: 2.793 MB / 0.6107 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4891, allocations: 0 / 0.6107 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004782/0.4939, allocations: 3.058 MB / 0.6137 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.4945, allocations: 178.7 kB / 0.6139 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.4949, allocations: 24 kB / 0.6139 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008783/0.4958, allocations: 63.92 kB / 0.614 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.4959, allocations: 97.33 kB / 0.6141 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.305e-05/0.496, allocations: 40 kB / 0.6141 GB, free: 14.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002525/0.4986, allocations: 1.296 MB / 0.6154 GB, free: 13.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4986, allocations: 0 / 0.6154 GB, free: 13.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003264/0.5018, allocations: 0.6665 MB / 0.616 GB, free: 12.65 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.0003919/0.5022, allocations: 162.6 kB / 0.6162 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005616/0.5078, allocations: 3.025 MB / 0.6191 GB, free: 9.465 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5078, allocations: 0 / 0.6191 GB, free: 9.465 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.5094, allocations: 0.9628 MB / 0.6201 GB, free: 8.496 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.511, allocations: 258 kB / 0.6203 GB, free: 8.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.5247, allocations: 6.883 MB / 0.627 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002756/0.5275, allocations: 1.993 MB / 0.629 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/0.5282, allocations: 183.4 kB / 0.6291 GB, free: 15.11 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5282, allocations: 0 / 0.6291 GB, free: 15.11 MB / 478.1 MB Notification: Performance of Templates: time 0.07703/0.6052, allocations: 54.34 MB / 0.6822 GB, free: 8.883 MB / 0.5137 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: 10.644163703080267] Failed to read output from testmodel.py, exit status != 0: 0.6140832789242268 0.628018274 0.299640087 Calling exit ...