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.0007262/0.0007262, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000929/0.001655, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001086/0.001086, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002462, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9295/0.9295, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08831/1.018, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.03634/0.03634, allocations: 7.177 MB / 251.3 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004603/0.04094, allocations: 2.557 MB / 253.9 MB, free: 5.207 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 4 kB / 255.2 MB, free: 3.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.815e-06/1.002e-05, allocations: 2.312 kB / 255.2 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.006196/0.006206, allocations: 8.422 MB / 263.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.01054, allocations: 2.72 MB / 266.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006213/0.01116, allocations: 43.81 kB / 266.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.01169, allocations: 405.3 kB / 266.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.01398, allocations: 1.485 MB / 268.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.01423, allocations: 139.7 kB / 268.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.01594, allocations: 2.603 MB / 271 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006427/0.01659, allocations: 0.8359 MB / 271.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.01765, allocations: 1.462 MB / 273.3 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.01873, allocations: 1.274 MB / 274.5 MB, free: 440 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004449/0.01917, allocations: 236 kB / 274.8 MB, free: 204 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1052/0.1244, allocations: 0.8378 MB / 275.6 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.1255, allocations: 1.138 MB / 276.7 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.1266, allocations: 0.6911 MB / 277.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.1295, allocations: 3.08 MB / 280.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.1295, allocations: 0 / 280.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1295, allocations: 0 / 280.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001134/0.1296, allocations: 3.844 kB / 280.5 MB, free: 4.449 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.005258/0.1349, allocations: 4.055 MB / 284.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.1349, allocations: 11.23 kB / 284.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/0.1376, allocations: 1.02 MB / 285.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.1388, allocations: 1.009 MB / 286.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/0.1389, allocations: 150.3 kB / 286.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.1391, allocations: 199.2 kB / 287 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/0.1423, allocations: 3.416 MB / 290.4 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/0.1424, allocations: 23.94 kB / 290.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.1426, allocations: 99.81 kB / 290.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001159/0.1437, allocations: 1.566 MB / 292.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.1463, allocations: 1.905 MB / 294 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.1598, allocations: 17.9 MB / 311.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.1617, allocations: 0.9934 MB / 312.9 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.162, allocations: 238.2 kB / 313.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002681/0.1647, allocations: 2.257 MB / 315.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1647, allocations: 46.19 kB / 315.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 2.144e-06/0.1647, allocations: 0.5938 kB / 315.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=154): time 0.006114/0.1708, allocations: 3.872 MB / 319.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1708, allocations: 64.72 kB / 319.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.172, allocations: 1.764 MB / 321.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.1721, allocations: 49.38 kB / 321.1 MB, free: 8.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007418/0.1728, allocations: 2.141 MB / 323.3 MB, free: 6.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.1731, allocations: 0.5868 MB / 323.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006043/0.1737, allocations: 0.7575 MB / 324.6 MB, free: 5.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.1738, allocations: 350.2 kB / 325 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/0.1743, allocations: 409.5 kB / 325.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.1758, allocations: 2.47 MB / 327.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/0.1783, allocations: 3.64 MB / 331.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/0.1783, allocations: 27.94 kB / 331.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.002741/0.181, allocations: 2.562 MB / 334.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.1811, allocations: 40 kB / 334.1 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.659e-05/0.1811, allocations: 80 kB / 334.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.1814, allocations: 178.5 kB / 334.4 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.183, allocations: 0.9905 MB / 335.4 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009696/0.184, allocations: 1.789 MB / 337.1 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.185, allocations: 159.9 kB / 337.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.1852, allocations: 200 kB / 337.5 MB, free: 6.273 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (488): * Single equations (assignments): 483 * 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.0007109/0.1859, allocations: 426.5 kB / 337.9 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.1861, allocations: 139.9 kB / 338 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008417/0.1869, allocations: 0.7379 MB / 338.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/0.1869, allocations: 12 kB / 338.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.187, allocations: 4 kB / 338.8 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.187, allocations: 7.969 kB / 338.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.1903, allocations: 2.872 MB / 341.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.1903, allocations: 7.984 kB / 341.7 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.1908, allocations: 243.9 kB / 341.9 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.191, allocations: 170.7 kB / 342.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.1912, allocations: 143.7 kB / 342.2 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/0.1913, allocations: 29.39 kB / 342.3 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007581/0.192, allocations: 1.59 MB / 343.9 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.192, allocations: 7.938 kB / 343.9 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1931, allocations: 1.053 MB / 344.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.1932, allocations: 20.06 kB / 344.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.1935, allocations: 42.67 kB / 345 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.1936, allocations: 88.78 kB / 345.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.1937, allocations: 31.98 kB / 345.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005145/0.1942, allocations: 0.6323 MB / 345.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1942, allocations: 0 / 345.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001481/0.1957, allocations: 0.6612 MB / 346.4 MB, free: 13.71 MB / 330.7 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.000236/0.1959, allocations: 143.7 kB / 346.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.1977, allocations: 1.692 MB / 348.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000109/0.1978, allocations: 70.48 kB / 348.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000488/0.1983, allocations: 0.5257 MB / 348.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.1995, allocations: 1.897 MB / 350.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008201/0.2077, allocations: 5.543 MB / 356.3 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.2085, allocations: 0.8858 MB / 357.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006605/0.2092, allocations: 299.4 kB / 357.4 MB, free: 2.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.2096, allocations: 357.2 kB / 357.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2096, allocations: 4 kB / 357.8 MB, free: 1.93 MB / 330.7 MB Notification: Performance of Templates: time 0.02912/0.2387, allocations: 18.84 MB / 376.6 MB, free: 15.26 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8304015174508095]