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.001203/0.001203, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.00131/0.00131, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.316/1.316, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 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.04613/0.04613, allocations: 9.237 MB / 322.4 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.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.001903/0.001903, allocations: 62.09 kB / 449 MB, free: 14.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09828, allocations: 55.47 MB / 0.4926 GB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.01072/0.109, allocations: 8.722 MB / 0.5012 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00513/0.1141, allocations: 2.671 MB / 0.5038 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.1151, allocations: 39.88 kB / 0.5038 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009573/0.116, allocations: 373.4 kB / 0.5042 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.1191, allocations: 1.44 MB / 0.5056 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.1196, allocations: 143.8 kB / 0.5057 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003083/0.1227, allocations: 2.507 MB / 0.5081 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.1238, allocations: 0.775 MB / 0.5089 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.1249, allocations: 0.9221 MB / 0.5098 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.1267, allocations: 1.432 MB / 0.5112 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.127, allocations: 236 kB / 0.5114 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.1283, allocations: 0.8971 MB / 0.5123 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.1294, allocations: 1.227 MB / 0.5135 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.1308, allocations: 1.549 MB / 0.515 GB, free: 20 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1761/0.3069, allocations: 4.982 MB / 0.5199 GB, free: 12.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3069, allocations: 0 / 0.5199 GB, free: 12.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3069, allocations: 0 / 0.5199 GB, free: 12.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.626e-05/0.307, allocations: 0.5312 kB / 0.5199 GB, free: 12.24 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.007685/0.3147, allocations: 3.914 MB / 0.5237 GB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3147, allocations: 7.625 kB / 0.5237 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00599/0.3207, allocations: 1.781 MB / 0.5255 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.3231, allocations: 1.313 MB / 0.5267 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.3232, allocations: 150.3 kB / 0.5269 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.3236, allocations: 200.5 kB / 0.5271 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.3337, allocations: 7.966 MB / 0.5348 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-05/0.3337, allocations: 21.77 kB / 0.5349 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.334, allocations: 98.62 kB / 0.535 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002476/0.3365, allocations: 1.845 MB / 0.5368 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.3478, allocations: 7.169 MB / 0.5438 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0304/0.3782, allocations: 24.02 MB / 0.5672 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004754/0.383, allocations: 1.846 MB / 0.569 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.3842, allocations: 0.7715 MB / 0.5698 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006764/0.391, allocations: 3.33 MB / 0.573 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.391, allocations: 45.38 kB / 0.5731 GB, free: 10.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=128): time 3.045e-06/0.3911, allocations: 3.938 kB / 0.5731 GB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.01435/0.4054, allocations: 6.903 MB / 0.5798 GB, free: 3.797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.4055, allocations: 68.66 kB / 0.5799 GB, free: 3.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004086/0.4095, allocations: 2.618 MB / 0.5824 GB, free: 1.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.4097, allocations: 52.75 kB / 0.5825 GB, free: 1.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.4114, allocations: 2.159 MB / 0.5846 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006096/0.412, allocations: 0.6027 MB / 0.5852 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.4131, allocations: 0.7786 MB / 0.586 GB, free: 13.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4133, allocations: 305.1 kB / 0.5862 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/0.4156, allocations: 1.304 MB / 0.5875 GB, free: 11.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/0.4196, allocations: 3.439 MB / 0.5909 GB, free: 7.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006406/0.426, allocations: 5.098 MB / 0.5959 GB, free: 1.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-05/0.4261, allocations: 20 kB / 0.5959 GB, free: 1.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008245/0.4343, allocations: 4.813 MB / 0.6006 GB, free: 13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.4344, allocations: 42.66 kB / 0.6006 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.565e-05/0.4344, allocations: 76.72 kB / 0.6007 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/0.4349, allocations: 188.8 kB / 0.6009 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/0.4376, allocations: 0.9007 MB / 0.6017 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.44, allocations: 2.278 MB / 0.604 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.4425, allocations: 202.6 kB / 0.6042 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/0.443, allocations: 235.9 kB / 0.6044 GB, free: 8.953 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.002592/0.4456, allocations: 1.558 MB / 0.6059 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/0.446, allocations: 235 kB / 0.6061 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.4495, allocations: 1.946 MB / 0.608 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/0.4496, allocations: 28.11 kB / 0.6081 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4496, allocations: 4.656 kB / 0.6081 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.4496, allocations: 7.969 kB / 0.6081 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.4598, allocations: 5.547 MB / 0.6135 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4598, allocations: 0 / 0.6135 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000966/0.4608, allocations: 240.4 kB / 0.6137 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.461, allocations: 87.39 kB / 0.6138 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.4611, allocations: 24 kB / 0.6138 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.4631, allocations: 2.007 MB / 0.6158 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.4631, allocations: 3.938 kB / 0.6158 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.4677, allocations: 3.045 MB / 0.6188 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/0.4683, allocations: 226.5 kB / 0.619 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.4686, allocations: 24 kB / 0.619 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008459/0.4695, allocations: 79.84 kB / 0.6191 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.4696, allocations: 86.22 kB / 0.6192 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/0.4697, allocations: 47.12 kB / 0.6192 GB, free: 9.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002729/0.4725, allocations: 1.687 MB / 0.6209 GB, free: 7.793 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4725, allocations: 4 kB / 0.6209 GB, free: 7.789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002774/0.4752, allocations: 0.6484 MB / 0.6215 GB, free: 7.141 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.0003298/0.4756, allocations: 153 kB / 0.6216 GB, free: 6.984 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005117/0.4807, allocations: 3.018 MB / 0.6246 GB, free: 3.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.4807, allocations: 0 / 0.6246 GB, free: 3.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.4821, allocations: 0.929 MB / 0.6255 GB, free: 3.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.484, allocations: 382.4 kB / 0.6259 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.4963, allocations: 6.872 MB / 0.6326 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003207/0.4995, allocations: 2.572 MB / 0.6351 GB, free: 9.172 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000732/0.5002, allocations: 211.4 kB / 0.6353 GB, free: 8.965 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5002, allocations: 0 / 0.6353 GB, free: 8.965 MB / 478.1 MB Notification: Performance of Templates: time 0.09649/0.5967, allocations: 56.85 MB / 0.6908 GB, free: 260 kB / 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: 10.66195414098911] Failed to read output from testmodel.py, exit status != 0: 0.6064313729293644 0.623842816 0.313879516 Calling exit ...