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.001889/0.001889, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.0024/0.0024, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 18.57 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.507/1.507, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.05069/0.05069, allocations: 7.187 MB / 266.7 MB, free: 6.078 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 1.313e-06/1.313e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.929e-05, allocations: 2.312 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.006301/0.00632, allocations: 7.731 MB / 345.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.0103, allocations: 2.559 MB / 348.4 MB, free: 228 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009551/0.01126, allocations: 39.88 kB / 348.5 MB, free: 188 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009442/0.0122, allocations: 377.4 kB / 348.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004083/0.01629, allocations: 1.505 MB / 350.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.01671, allocations: 139.7 kB / 350.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.0199, allocations: 2.595 MB / 353.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.02137, allocations: 0.8225 MB / 353.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.02342, allocations: 1.387 MB / 355.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.02528, allocations: 1.321 MB / 356.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003594/0.02564, allocations: 236 kB / 356.8 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.02736, allocations: 0.8307 MB / 357.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.02866, allocations: 1.273 MB / 358.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.02973, allocations: 0.8292 MB / 359.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006348/0.03608, allocations: 5.003 MB / 364.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.03608, allocations: 0 / 364.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.03608, allocations: 0 / 364.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.664e-05/0.03617, allocations: 0 / 364.8 MB, free: 15.8 MB / 298.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.009311/0.04548, allocations: 3.917 MB / 368.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.04552, allocations: 8.625 kB / 368.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007624/0.05315, allocations: 2.284 MB / 371 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.05596, allocations: 1.318 MB / 372.3 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.05612, allocations: 156.1 kB / 372.4 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004537/0.05658, allocations: 200.2 kB / 372.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.07005, allocations: 7.969 MB / 380.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.434e-05/0.07013, allocations: 31.75 kB / 380.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004415/0.07058, allocations: 91.88 kB / 380.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003376/0.07395, allocations: 1.852 MB / 382.6 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.08868, allocations: 7.122 MB / 389.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1551/0.2438, allocations: 22 MB / 411.7 MB, free: 70.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004908/0.2487, allocations: 1.962 MB / 413.7 MB, free: 70.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.2499, allocations: 0.7767 MB / 414.4 MB, free: 70.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006281/0.2561, allocations: 3.088 MB / 417.5 MB, free: 70.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.2562, allocations: 45.97 kB / 417.6 MB, free: 70.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.895e-06/0.2562, allocations: 0 / 417.6 MB, free: 70.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.01237/0.2685, allocations: 6.971 MB / 424.6 MB, free: 67.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.2686, allocations: 71.25 kB / 424.6 MB, free: 67.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.2708, allocations: 2.252 MB / 426.9 MB, free: 66.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.2708, allocations: 52.22 kB / 426.9 MB, free: 66.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006923/0.2715, allocations: 2.207 MB / 429.1 MB, free: 65.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.2718, allocations: 0.5784 MB / 429.7 MB, free: 64.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008032/0.2726, allocations: 0.7984 MB / 430.5 MB, free: 64.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.2726, allocations: 344.3 kB / 430.8 MB, free: 64.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.2743, allocations: 1.321 MB / 432.2 MB, free: 63.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.2766, allocations: 3.444 MB / 435.6 MB, free: 60.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.2805, allocations: 5.101 MB / 440.7 MB, free: 54.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.469e-05/0.2805, allocations: 20 kB / 440.7 MB, free: 54.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=520) (initialization): time 0.0059/0.2864, allocations: 5.024 MB / 445.8 MB, free: 49.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.2864, allocations: 39.94 kB / 445.8 MB, free: 49.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.826e-05/0.2865, allocations: 76.88 kB / 445.9 MB, free: 49.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004596/0.2869, allocations: 224.7 kB / 446.1 MB, free: 49.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.2893, allocations: 0.9163 MB / 447 MB, free: 48.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.2908, allocations: 2.141 MB / 449.1 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.2929, allocations: 210.8 kB / 449.3 MB, free: 45.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.2931, allocations: 232 kB / 449.6 MB, free: 45.43 MB / 330.7 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 (486): * Single equations (assignments): 481 * 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.001649/0.2948, allocations: 1.566 MB / 451.1 MB, free: 43.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.2951, allocations: 234.5 kB / 451.4 MB, free: 43.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.2977, allocations: 1.893 MB / 453.3 MB, free: 41.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001066/0.2979, allocations: 35.92 kB / 453.3 MB, free: 41.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2979, allocations: 0 / 453.3 MB, free: 41.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.2979, allocations: 11.91 kB / 453.3 MB, free: 41.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0064/0.3043, allocations: 4.406 MB / 457.7 MB, free: 37.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3043, allocations: 192 / 457.7 MB, free: 37.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008867/0.3052, allocations: 243.7 kB / 458 MB, free: 37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/0.3055, allocations: 119.3 kB / 458.1 MB, free: 36.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.3056, allocations: 27.98 kB / 458.1 MB, free: 36.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.3068, allocations: 1.875 MB / 460 MB, free: 34.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3068, allocations: 4.031 kB / 460 MB, free: 34.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/0.3104, allocations: 3.028 MB / 463 MB, free: 31.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.3108, allocations: 178.8 kB / 463.2 MB, free: 31.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.3109, allocations: 24 kB / 463.2 MB, free: 31.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/0.3117, allocations: 75.84 kB / 463.3 MB, free: 31.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.3119, allocations: 88.83 kB / 463.4 MB, free: 31.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/0.3119, allocations: 46.66 kB / 463.4 MB, free: 31.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001394/0.3133, allocations: 1.317 MB / 464.7 MB, free: 30.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3133, allocations: 0 / 464.7 MB, free: 30.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002574/0.3159, allocations: 0.6484 MB / 465.4 MB, free: 29.46 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.0002976/0.3162, allocations: 157.5 kB / 465.5 MB, free: 29.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003831/0.32, allocations: 3.03 MB / 468.6 MB, free: 26.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.32, allocations: 4.062 kB / 468.6 MB, free: 26.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.3211, allocations: 0.914 MB / 469.5 MB, free: 25.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3223, allocations: 287.2 kB / 469.8 MB, free: 25.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.3296, allocations: 6.452 MB / 476.2 MB, free: 18.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.3315, allocations: 2.005 MB / 478.2 MB, free: 16.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002073/0.3335, allocations: 1.158 MB / 479.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.3339, allocations: 156.5 kB / 479.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3339, allocations: 0 / 479.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of Templates: time 0.0311/0.365, allocations: 19.69 MB / 499.2 MB, free: 11.84 MB / 346.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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.22415170900058]