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.001301/0.001301, allocations: 79.58 kB / 19.76 MB, free: 2.031 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.001384/0.001384, allocations: 158.7 kB / 23.01 MB, free: 4.949 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.399/1.399, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.04683/0.04683, allocations: 7.126 MB / 266.9 MB, free: 9.707 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.00211/0.00211, allocations: 67.89 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09587, allocations: 55.46 MB / 448.8 MB, free: 2.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.009347/0.1052, allocations: 7.32 MB / 456.2 MB, free: 11.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.1107, allocations: 2.503 MB / 458.7 MB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007339/0.1114, allocations: 39.88 kB / 458.7 MB, free: 8.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008058/0.1122, allocations: 373.5 kB / 459.1 MB, free: 8.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.1152, allocations: 1.436 MB / 460.5 MB, free: 7.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1155, allocations: 131.8 kB / 460.6 MB, free: 7.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002842/0.1183, allocations: 2.471 MB / 463.1 MB, free: 4.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009194/0.1193, allocations: 0.7377 MB / 463.8 MB, free: 3.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.1204, allocations: 0.9027 MB / 464.8 MB, free: 2.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.1222, allocations: 1.358 MB / 466.1 MB, free: 1.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.1226, allocations: 228 kB / 466.3 MB, free: 1.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.1238, allocations: 0.7684 MB / 467.1 MB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.1251, allocations: 1.211 MB / 468.3 MB, free: 15.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.1264, allocations: 1.083 MB / 469.4 MB, free: 14.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005785/0.1321, allocations: 4.953 MB / 474.3 MB, free: 9.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1321, allocations: 0 / 474.3 MB, free: 9.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1321, allocations: 0 / 474.3 MB, free: 9.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.184e-05/0.1322, allocations: 4 kB / 474.4 MB, free: 9.27 MB / 446.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.008689/0.1409, allocations: 3.886 MB / 478.2 MB, free: 5.328 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.141, allocations: 12.62 kB / 478.3 MB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007011/0.148, allocations: 1.851 MB / 480.1 MB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.1507, allocations: 1.289 MB / 481.4 MB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.1508, allocations: 144 kB / 481.5 MB, free: 2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000405/0.1512, allocations: 199.9 kB / 481.7 MB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1866/0.3378, allocations: 7.888 MB / 489.6 MB, free: 66.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/0.3378, allocations: 16.09 kB / 489.6 MB, free: 66.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.3381, allocations: 93.52 kB / 489.7 MB, free: 66.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002365/0.3404, allocations: 1.847 MB / 491.6 MB, free: 65.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009946/0.3504, allocations: 7.049 MB / 498.6 MB, free: 63.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02228/0.3727, allocations: 21.58 MB / 0.508 GB, free: 49.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00448/0.3771, allocations: 1.913 MB / 0.5099 GB, free: 48.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.3782, allocations: 0.7548 MB / 0.5106 GB, free: 48.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005267/0.3835, allocations: 2.906 MB / 0.5134 GB, free: 47.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3835, allocations: 40.19 kB / 0.5135 GB, free: 47.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=129): time 3.236e-06/0.3835, allocations: 0 / 0.5135 GB, free: 47.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.01288/0.3964, allocations: 6.852 MB / 0.5202 GB, free: 44.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3964, allocations: 69.12 kB / 0.5202 GB, free: 44.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/0.3992, allocations: 2.18 MB / 0.5224 GB, free: 43.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.3993, allocations: 46.27 kB / 0.5224 GB, free: 43.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009023/0.4002, allocations: 2.16 MB / 0.5245 GB, free: 42.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.4005, allocations: 0.5963 MB / 0.5251 GB, free: 41.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009842/0.4015, allocations: 0.7851 MB / 0.5259 GB, free: 41.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.4016, allocations: 352.6 kB / 0.5262 GB, free: 41.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.4036, allocations: 1.269 MB / 0.5274 GB, free: 40.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/0.4064, allocations: 3.369 MB / 0.5307 GB, free: 37.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004614/0.411, allocations: 4.987 MB / 0.5356 GB, free: 33.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-05/0.4111, allocations: 22.47 kB / 0.5356 GB, free: 33.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.007164/0.4183, allocations: 4.777 MB / 0.5403 GB, free: 31.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.4183, allocations: 36 kB / 0.5403 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.748e-05/0.4184, allocations: 72.84 kB / 0.5404 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007003/0.4191, allocations: 320.4 kB / 0.5407 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.4214, allocations: 0.8443 MB / 0.5415 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.425, allocations: 3.488 MB / 0.5449 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.4273, allocations: 195.6 kB / 0.5451 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/0.4277, allocations: 231.3 kB / 0.5453 GB, free: 26.52 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.001889/0.4296, allocations: 1.555 MB / 0.5469 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.4299, allocations: 195.2 kB / 0.547 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.4326, allocations: 1.937 MB / 0.5489 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.575e-05/0.4327, allocations: 28.48 kB / 0.549 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4327, allocations: 7.688 kB / 0.549 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.4327, allocations: 5.906 kB / 0.549 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007179/0.4399, allocations: 4.577 MB / 0.5534 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4399, allocations: 4 kB / 0.5535 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.4407, allocations: 199.7 kB / 0.5536 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000522/0.4412, allocations: 210.3 kB / 0.5538 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.4413, allocations: 37.75 kB / 0.5539 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/0.4439, allocations: 2.798 MB / 0.5566 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4439, allocations: 0 / 0.5566 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.4473, allocations: 3.04 MB / 0.5596 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.4477, allocations: 177.7 kB / 0.5597 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.4479, allocations: 32.05 kB / 0.5598 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/0.4487, allocations: 66.97 kB / 0.5598 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.4488, allocations: 95.59 kB / 0.5599 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.601e-05/0.4489, allocations: 44.69 kB / 0.56 GB, free: 13.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001465/0.4504, allocations: 1.276 MB / 0.5612 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4504, allocations: 0 / 0.5612 GB, free: 12.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002608/0.453, allocations: 0.6599 MB / 0.5619 GB, free: 11.55 MB / 446.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.000264/0.4532, allocations: 159.2 kB / 0.562 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003948/0.4572, allocations: 3.005 MB / 0.565 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4572, allocations: 0 / 0.565 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.4583, allocations: 0.9583 MB / 0.5659 GB, free: 7.664 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4594, allocations: 260.3 kB / 0.5661 GB, free: 7.422 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/0.4679, allocations: 6.489 MB / 0.5725 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/0.4705, allocations: 1.997 MB / 0.5744 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002642/0.4732, allocations: 1.134 MB / 0.5755 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.4736, allocations: 152.5 kB / 0.5757 GB, free: 13.56 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4736, allocations: 0 / 0.5757 GB, free: 13.56 MB / 462.1 MB Notification: Performance of Templates: time 0.04096/0.5146, allocations: 20.41 MB / 0.5956 GB, free: 9.422 MB / 478.1 MB " [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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0998526570620015] Failed to read output from testmodel.py, exit status != 0: 0.5229747999692336 0.537812396 0.402491327 Calling exit ...