Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.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.001157/0.001157, allocations: 81.64 kB / 19.87 MB, free: 4.613 MB / 18.57 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.0009816/0.0009816, allocations: 173 kB / 23.28 MB, free: 1.215 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.06/1.06, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.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.02969/0.02969, allocations: 7.195 MB / 267.4 MB, free: 5.918 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.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") translateModel(PlanarMechanics.Examples.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 339.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.775e-05/4.098e-05, allocations: 2.312 kB / 339.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.01134/0.01138, allocations: 10.21 MB / 349.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007281/0.01866, allocations: 2.957 MB / 352.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.01977, allocations: 47.81 kB / 352.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008771/0.02065, allocations: 472.7 kB / 353 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.02365, allocations: 1.788 MB / 354.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.02401, allocations: 171.7 kB / 355 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003183/0.02719, allocations: 3.201 MB / 358.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.02823, allocations: 1.013 MB / 359.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.02983, allocations: 1.75 MB / 360.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.0314, allocations: 1.632 MB / 362.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004141/0.03182, allocations: 296 kB / 362.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.03304, allocations: 0.8816 MB / 363.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.03429, allocations: 1.593 MB / 365.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008895/0.03518, allocations: 1.036 MB / 366.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.03859, allocations: 4.007 MB / 370.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.0386, allocations: 0 / 370.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.0386, allocations: 0 / 370.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.284e-05/0.03866, allocations: 0 / 370.4 MB, free: 10.75 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.005897/0.04456, allocations: 4.919 MB / 375.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.04462, allocations: 12.61 kB / 375.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.04784, allocations: 1.442 MB / 376.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.04933, allocations: 1.408 MB / 378.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.04944, allocations: 193.2 kB / 378.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.04974, allocations: 252.2 kB / 378.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004786/0.05453, allocations: 4.619 MB / 383.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/0.05458, allocations: 19.81 kB / 383.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.05481, allocations: 131.8 kB / 383.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001885/0.05669, allocations: 2.088 MB / 385.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.06047, allocations: 2.332 MB / 387.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2294/0.2898, allocations: 31.54 MB / 419.3 MB, free: 37.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.2926, allocations: 1.256 MB / 420.5 MB, free: 37.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.2931, allocations: 372.8 kB / 420.9 MB, free: 37.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004788/0.2979, allocations: 3.002 MB / 423.9 MB, free: 37.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.2979, allocations: 53.16 kB / 424 MB, free: 37.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=159): time 2.766e-06/0.2979, allocations: 1.375 kB / 424 MB, free: 37.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.00907/0.307, allocations: 4.358 MB / 428.3 MB, free: 36.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.307, allocations: 70.83 kB / 428.4 MB, free: 36.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.3094, allocations: 2.388 MB / 430.8 MB, free: 36.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.087e-05/0.3095, allocations: 51.75 kB / 430.8 MB, free: 36.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.3109, allocations: 2.884 MB / 433.7 MB, free: 34.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/0.3114, allocations: 0.7384 MB / 434.5 MB, free: 33.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.3124, allocations: 1.08 MB / 435.5 MB, free: 33.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3125, allocations: 0.5298 MB / 436.1 MB, free: 33.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.3131, allocations: 418.6 kB / 436.5 MB, free: 33.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.3151, allocations: 4.568 MB / 441 MB, free: 27.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003714/0.3188, allocations: 5.587 MB / 446.6 MB, free: 22.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-05/0.3188, allocations: 27.53 kB / 446.7 MB, free: 22.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.004249/0.3231, allocations: 3.885 MB / 450.5 MB, free: 21.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.3231, allocations: 51.94 kB / 450.6 MB, free: 21.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.769e-05/0.3232, allocations: 96.09 kB / 450.7 MB, free: 21.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.3237, allocations: 303.8 kB / 451 MB, free: 21.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.3254, allocations: 1.081 MB / 452.1 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.3273, allocations: 2.994 MB / 455.1 MB, free: 17.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.3291, allocations: 195.1 kB / 455.3 MB, free: 17.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.3293, allocations: 265.7 kB / 455.5 MB, free: 17.42 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 30 (distance.arrowColor[3],distance.arrowColor[2],distance.arrowColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[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 (609): * Single equations (assignments): 603 * Array equations: 5 * 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.001308/0.3306, allocations: 0.5482 MB / 456.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.3309, allocations: 289.4 kB / 456.3 MB, free: 16.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.3321, allocations: 1.133 MB / 457.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.187e-05/0.3322, allocations: 31.47 kB / 457.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3322, allocations: 4 kB / 457.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3322, allocations: 7.172 kB / 457.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/0.3378, allocations: 4.333 MB / 461.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.3378, allocations: 4 kB / 461.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.3383, allocations: 240 kB / 462.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003498/0.3387, allocations: 172.7 kB / 462.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.3387, allocations: 36 kB / 462.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3399, allocations: 2.337 MB / 464.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3399, allocations: 4 kB / 464.6 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.3414, allocations: 1.683 MB / 466.3 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.3417, allocations: 217.5 kB / 466.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.3418, allocations: 31.62 kB / 466.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.3422, allocations: 39.98 kB / 466.6 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3423, allocations: 109 kB / 466.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/0.3423, allocations: 50.95 kB / 466.8 MB, free: 6.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006564/0.343, allocations: 0.9666 MB / 467.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.343, allocations: 0 / 467.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002244/0.3452, allocations: 0.8233 MB / 468.5 MB, free: 5.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute.phi,revolute.w,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 (142): * Single equations (assignments): 136 * Array equations: 5 * 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.000251/0.3455, allocations: 165.8 kB / 468.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.3476, allocations: 2.297 MB / 471 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.3476, allocations: 9.625 kB / 471 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000535/0.3482, allocations: 0.7058 MB / 471.7 MB, free: 2.148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008228/0.349, allocations: 326.4 kB / 472 MB, free: 1.852 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008611/0.3576, allocations: 6.689 MB / 478.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.3587, allocations: 1.111 MB / 479.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009156/0.3596, allocations: 375.3 kB / 480.2 MB, free: 9.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006578/0.3602, allocations: 474.1 kB / 480.7 MB, free: 9.117 MB / 346.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3602, allocations: 0 / 480.7 MB, free: 9.117 MB / 346.7 MB Notification: Performance of Templates: time 0.03811/0.3983, allocations: 23.13 MB / 0.492 GB, free: 2.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.344095035921782]