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.001318/0.001318, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001408/0.001408, allocations: 158.6 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.396/1.396, 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.04735/0.04735, allocations: 7.128 MB / 266.9 MB, free: 9.711 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.002058/0.002058, allocations: 63.91 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09375, allocations: 55.45 MB / 448.8 MB, free: 2.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.01013/0.1039, allocations: 7.639 MB / 456.5 MB, free: 11.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.1088, allocations: 2.534 MB / 459 MB, free: 8.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005471/0.1094, allocations: 39.88 kB / 459.1 MB, free: 8.641 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.1102, allocations: 377.4 kB / 459.4 MB, free: 8.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.113, allocations: 1.436 MB / 460.9 MB, free: 6.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1134, allocations: 147.8 kB / 461 MB, free: 6.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.1162, allocations: 2.509 MB / 463.5 MB, free: 4.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.1172, allocations: 0.7637 MB / 464.3 MB, free: 3.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1183, allocations: 0.9222 MB / 465.2 MB, free: 2.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.1201, allocations: 1.378 MB / 466.6 MB, free: 1.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.1204, allocations: 232 kB / 466.8 MB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.1218, allocations: 0.7684 MB / 467.6 MB, free: 84 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.123, allocations: 1.223 MB / 468.8 MB, free: 14.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.1241, allocations: 1.098 MB / 469.9 MB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005417/0.1296, allocations: 4.995 MB / 474.9 MB, free: 8.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1296, allocations: 0 / 474.9 MB, free: 8.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1296, allocations: 0 / 474.9 MB, free: 8.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.376e-05/0.1296, allocations: 0 / 474.9 MB, free: 8.734 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.00876/0.1384, allocations: 3.94 MB / 478.8 MB, free: 4.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1384, allocations: 12.62 kB / 478.8 MB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007148/0.1456, allocations: 1.847 MB / 480.7 MB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.1483, allocations: 1.303 MB / 482 MB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.1484, allocations: 156 kB / 482.1 MB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004179/0.1488, allocations: 207.9 kB / 482.3 MB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1941/0.3429, allocations: 7.932 MB / 490.3 MB, free: 65.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.42e-05/0.343, allocations: 22.83 kB / 490.3 MB, free: 65.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.3432, allocations: 96.09 kB / 490.4 MB, free: 65.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002341/0.3455, allocations: 1.85 MB / 492.2 MB, free: 65.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00958/0.3551, allocations: 7.094 MB / 499.3 MB, free: 62.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02252/0.3776, allocations: 21.8 MB / 0.5089 GB, free: 48.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004726/0.3824, allocations: 1.901 MB / 0.5108 GB, free: 48.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.3835, allocations: 0.7615 MB / 0.5115 GB, free: 48.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006078/0.3896, allocations: 3.058 MB / 0.5145 GB, free: 46.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3897, allocations: 44.28 kB / 0.5146 GB, free: 46.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=128): time 3.847e-06/0.3897, allocations: 0 / 0.5146 GB, free: 46.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=154): time 0.01329/0.4029, allocations: 6.935 MB / 0.5213 GB, free: 44.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.403, allocations: 69.72 kB / 0.5214 GB, free: 44.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.4055, allocations: 2.211 MB / 0.5236 GB, free: 43.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.4056, allocations: 42.11 kB / 0.5236 GB, free: 43.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/0.4064, allocations: 2.193 MB / 0.5257 GB, free: 41.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.4067, allocations: 0.5946 MB / 0.5263 GB, free: 41.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000927/0.4077, allocations: 0.7997 MB / 0.5271 GB, free: 40.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.4078, allocations: 346 kB / 0.5274 GB, free: 40.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.4098, allocations: 1.3 MB / 0.5287 GB, free: 40.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002841/0.4127, allocations: 3.435 MB / 0.532 GB, free: 36.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004835/0.4175, allocations: 5.074 MB / 0.537 GB, free: 32.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.032e-05/0.4175, allocations: 22.11 kB / 0.537 GB, free: 32.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.006602/0.4241, allocations: 4.767 MB / 0.5417 GB, free: 29.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.4242, allocations: 36 kB / 0.5417 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-05/0.4242, allocations: 76.7 kB / 0.5418 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.4246, allocations: 184.5 kB / 0.542 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/0.427, allocations: 0.9048 MB / 0.5428 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.4286, allocations: 2.138 MB / 0.5449 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.4309, allocations: 211.9 kB / 0.5451 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/0.4311, allocations: 229.8 kB / 0.5454 GB, free: 26.3 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.001797/0.4329, allocations: 1.566 MB / 0.5469 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.4332, allocations: 191.4 kB / 0.5471 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.436, allocations: 1.9 MB / 0.5489 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-05/0.4361, allocations: 28.73 kB / 0.549 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4361, allocations: 0 / 0.549 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.4361, allocations: 6.328 kB / 0.549 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007062/0.4432, allocations: 4.395 MB / 0.5532 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4432, allocations: 1.781 kB / 0.5533 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009299/0.4441, allocations: 244.5 kB / 0.5535 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.4443, allocations: 83.56 kB / 0.5536 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/0.4444, allocations: 29.86 kB / 0.5536 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.4457, allocations: 1.881 MB / 0.5554 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4457, allocations: 4 kB / 0.5554 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.4494, allocations: 2.978 MB / 0.5583 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.4498, allocations: 178.8 kB / 0.5585 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.45, allocations: 24 kB / 0.5585 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/0.4507, allocations: 82.64 kB / 0.5586 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.4509, allocations: 82.61 kB / 0.5587 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/0.451, allocations: 44 kB / 0.5587 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.4525, allocations: 1.298 MB / 0.56 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4525, allocations: 0 / 0.56 GB, free: 13.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002767/0.4552, allocations: 0.6406 MB / 0.5606 GB, free: 12.45 MB / 446.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.0002525/0.4555, allocations: 154.7 kB / 0.5608 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.4595, allocations: 2.997 MB / 0.5637 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.4595, allocations: 4.062 kB / 0.5637 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.4606, allocations: 0.9138 MB / 0.5646 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4617, allocations: 263.2 kB / 0.5648 GB, free: 8.633 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/0.4697, allocations: 6.433 MB / 0.5711 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/0.4716, allocations: 2.01 MB / 0.5731 GB, free: 164 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002581/0.4742, allocations: 1.147 MB / 0.5742 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.4746, allocations: 152.4 kB / 0.5744 GB, free: 14.86 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4746, allocations: 0 / 0.5744 GB, free: 14.86 MB / 462.1 MB Notification: Performance of Templates: time 0.0394/0.514, allocations: 19.49 MB / 0.5934 GB, free: 11.64 MB / 478.1 MB " [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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.18739821203053] Failed to read output from testmodel.py, exit status != 0: 0.5230544660007581 0.53782476 0.405173487 Calling exit ...