Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.001331/0.001331, 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.001471/0.001471, allocations: 221 kB / 22.99 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.04713/0.04713, allocations: 9.251 MB / 322.4 MB, free: 9.852 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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") [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.00207/0.00207, allocations: 72.17 kB / 448.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1142, allocations: 55.47 MB / 0.4926 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.01038/0.1246, allocations: 7.653 MB / 0.5 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00617/0.1308, allocations: 2.519 MB / 0.5025 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.132, allocations: 43.81 kB / 0.5025 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009282/0.1329, allocations: 381.4 kB / 0.5029 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.1366, allocations: 1.439 MB / 0.5043 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.137, allocations: 151.7 kB / 0.5045 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003216/0.1402, allocations: 2.504 MB / 0.5069 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.1414, allocations: 0.7711 MB / 0.5076 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1428, allocations: 0.9222 MB / 0.5085 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.1447, allocations: 1.37 MB / 0.5099 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004213/0.1451, allocations: 236 kB / 0.5101 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.1466, allocations: 0.7723 MB / 0.5109 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.1478, allocations: 1.227 MB / 0.5121 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.149, allocations: 1.098 MB / 0.5131 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.261/0.41, allocations: 4.976 MB / 0.518 GB, free: 12.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.41, allocations: 7.016 kB / 0.518 GB, free: 12.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.41, allocations: 0.5312 kB / 0.518 GB, free: 12.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001336/0.4101, allocations: 1.062 kB / 0.518 GB, free: 12.92 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.009446/0.4195, allocations: 3.911 MB / 0.5218 GB, free: 11.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4196, allocations: 8.562 kB / 0.5218 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006457/0.426, allocations: 1.782 MB / 0.5236 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.4292, allocations: 1.321 MB / 0.5249 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.4293, allocations: 151.5 kB / 0.525 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/0.4298, allocations: 201.4 kB / 0.5252 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.4429, allocations: 7.963 MB / 0.533 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-05/0.4429, allocations: 32.27 kB / 0.533 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/0.4432, allocations: 90.86 kB / 0.5331 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003278/0.4465, allocations: 1.845 MB / 0.5349 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.4594, allocations: 7.157 MB / 0.5419 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0334/0.4928, allocations: 21.73 MB / 0.5631 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005401/0.4982, allocations: 1.849 MB / 0.5649 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.4997, allocations: 0.7773 MB / 0.5657 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007405/0.5071, allocations: 3.015 MB / 0.5686 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.5072, allocations: 45 kB / 0.5687 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=128): time 4.428e-06/0.5072, allocations: 4 kB / 0.5687 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.01593/0.5231, allocations: 6.873 MB / 0.5754 GB, free: 8.371 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.5232, allocations: 64.72 kB / 0.5754 GB, free: 8.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/0.5272, allocations: 2.239 MB / 0.5776 GB, free: 6.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.5273, allocations: 45.7 kB / 0.5777 GB, free: 6.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.5291, allocations: 2.192 MB / 0.5798 GB, free: 3.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006802/0.5298, allocations: 0.5972 MB / 0.5804 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/0.5312, allocations: 0.7922 MB / 0.5812 GB, free: 2.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5314, allocations: 341.9 kB / 0.5815 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/0.5338, allocations: 1.309 MB / 0.5828 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/0.538, allocations: 3.435 MB / 0.5861 GB, free: 12.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006706/0.5447, allocations: 5.102 MB / 0.5911 GB, free: 6.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.337e-05/0.5448, allocations: 20 kB / 0.5911 GB, free: 6.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008891/0.5537, allocations: 4.775 MB / 0.5958 GB, free: 1.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.729e-05/0.5538, allocations: 36 kB / 0.5958 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.5539, allocations: 76 kB / 0.5959 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004191/0.5543, allocations: 194.2 kB / 0.5961 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.5572, allocations: 0.9007 MB / 0.597 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.5595, allocations: 2.136 MB / 0.599 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.562, allocations: 208 kB / 0.5992 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/0.5625, allocations: 234.8 kB / 0.5995 GB, free: 14.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * 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 (478): * Single equations (assignments): 473 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002695/0.5652, allocations: 1.562 MB / 0.601 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/0.5656, allocations: 202.2 kB / 0.6012 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/0.5693, allocations: 1.91 MB / 0.603 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001014/0.5694, allocations: 27.97 kB / 0.6031 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.5694, allocations: 5.031 kB / 0.6031 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.5694, allocations: 3.984 kB / 0.6031 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.5795, allocations: 4.392 MB / 0.6074 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.5795, allocations: 0 / 0.6074 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009833/0.5805, allocations: 239.7 kB / 0.6076 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/0.5808, allocations: 88.94 kB / 0.6077 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.5809, allocations: 29.5 kB / 0.6077 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.5829, allocations: 1.877 MB / 0.6095 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.5829, allocations: 7.938 kB / 0.6096 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004938/0.5878, allocations: 3.001 MB / 0.6125 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006211/0.5885, allocations: 175.8 kB / 0.6127 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/0.5889, allocations: 26.91 kB / 0.6127 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009491/0.5898, allocations: 79.91 kB / 0.6128 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.59, allocations: 84.78 kB / 0.6128 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.685e-05/0.5901, allocations: 40 kB / 0.6129 GB, free: 188 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002637/0.5928, allocations: 1.313 MB / 0.6142 GB, free: 14.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5928, allocations: 0 / 0.6142 GB, free: 14.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003216/0.596, allocations: 0.6431 MB / 0.6148 GB, free: 14.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * 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 {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003972/0.5964, allocations: 160.6 kB / 0.6149 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005609/0.602, allocations: 3.009 MB / 0.6179 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.602, allocations: 0 / 0.6179 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.6036, allocations: 0.9259 MB / 0.6188 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.6054, allocations: 259.1 kB / 0.619 GB, free: 9.891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.6194, allocations: 6.804 MB / 0.6257 GB, free: 3.047 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003659/0.623, allocations: 2.011 MB / 0.6276 GB, free: 1.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008878/0.6239, allocations: 195.4 kB / 0.6278 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of SimCode: time 1.442e-06/0.6239, allocations: 0 / 0.6278 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of Templates: time 0.08773/0.7116, allocations: 55.09 MB / 0.6816 GB, free: 9.836 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.016659392043948] Failed to read output from testmodel.py, exit status != 0: 0.7213897230103612 0.736198187 0.323093839 Calling exit ...