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.000991/0.000991, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002365, allocations: 435.8 kB / 10.33 MB, free: 368 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.000998/0.000998, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002352, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.095/1.095, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.199, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.03592/0.03592, allocations: 7.176 MB / 251.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00943/0.04535, allocations: 2.557 MB / 253.7 MB, free: 5.312 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 1.884e-06/1.884e-06, allocations: 0 / 255 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.342e-05, allocations: 6.25 kB / 255 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.0113/0.01132, allocations: 10.34 MB / 265.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008177/0.0195, allocations: 3.084 MB / 268.4 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.02115, allocations: 47.88 kB / 268.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000921/0.02207, allocations: 0.4928 MB / 268.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003489/0.02556, allocations: 1.765 MB / 270.7 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.02592, allocations: 163.7 kB / 270.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003333/0.02925, allocations: 3.215 MB / 274.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1521/0.1814, allocations: 1.023 MB / 275.1 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005086/0.1865, allocations: 1.814 MB / 276.9 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004244/0.1907, allocations: 1.555 MB / 278.5 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.1923, allocations: 295.7 kB / 278.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.1952, allocations: 0.9007 MB / 279.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002263/0.1975, allocations: 1.414 MB / 281.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.1998, allocations: 0.8683 MB / 281.9 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006032/0.2058, allocations: 3.747 MB / 285.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.141e-05/0.2059, allocations: 6.812 kB / 285.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2059, allocations: 0 / 285.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000285/0.2061, allocations: 2.656 kB / 285.7 MB, free: 1.602 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.009956/0.2161, allocations: 4.9 MB / 290.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2161, allocations: 11.77 kB / 290.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.2192, allocations: 1.161 MB / 291.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.2212, allocations: 1.171 MB / 292.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.2213, allocations: 193.9 kB / 293.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/0.2216, allocations: 257.6 kB / 293.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005654/0.2273, allocations: 4.262 MB / 297.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-05/0.2273, allocations: 30.97 kB / 297.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.2276, allocations: 126.3 kB / 297.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.2295, allocations: 2.097 MB / 299.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005828/0.2353, allocations: 2.366 MB / 302.2 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02752/0.2628, allocations: 22.95 MB / 325.2 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.2657, allocations: 1.275 MB / 326.5 MB, free: 1.016 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.2661, allocations: 328.7 kB / 326.8 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0043/0.2704, allocations: 2.803 MB / 329.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.2705, allocations: 47.88 kB / 329.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=159): time 4.178e-06/0.2705, allocations: 1.188 kB / 329.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=181): time 0.008804/0.2793, allocations: 4.171 MB / 333.8 MB, free: 9.773 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2793, allocations: 68.72 kB / 333.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.2819, allocations: 2.157 MB / 336 MB, free: 7.898 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.021e-05/0.282, allocations: 57.7 kB / 336.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.2836, allocations: 2.691 MB / 338.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.2841, allocations: 0.6976 MB / 339.5 MB, free: 4.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008607/0.2849, allocations: 0.9521 MB / 340.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2851, allocations: 355.7 kB / 340.8 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/0.2858, allocations: 0.497 MB / 341.3 MB, free: 2.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.2878, allocations: 3.213 MB / 344.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004184/0.292, allocations: 4.386 MB / 348.9 MB, free: 8.863 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.873e-05/0.292, allocations: 28 kB / 348.9 MB, free: 8.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.004733/0.2968, allocations: 3.316 MB / 352.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.2968, allocations: 48 kB / 352.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.291e-05/0.2969, allocations: 104 kB / 352.4 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/0.2975, allocations: 306.5 kB / 352.7 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.2996, allocations: 1.224 MB / 353.9 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.3016, allocations: 2.357 MB / 356.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.3034, allocations: 207 kB / 356.4 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/0.3036, allocations: 252 kB / 356.7 MB, free: 0.9453 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 (610): * Single equations (assignments): 605 * 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.001628/0.3053, allocations: 0.5089 MB / 357.2 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.3055, allocations: 179.7 kB / 357.4 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.3071, allocations: 0.9523 MB / 358.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.333e-05/0.3071, allocations: 20 kB / 358.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3071, allocations: 7.938 kB / 358.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3071, allocations: 7.969 kB / 358.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/0.312, allocations: 3.605 MB / 362 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.312, allocations: 0 / 362 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.3126, allocations: 288.1 kB / 362.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.3129, allocations: 202.4 kB / 362.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/0.3134, allocations: 256.2 kB / 362.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/0.3135, allocations: 35.92 kB / 362.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.3149, allocations: 1.751 MB / 364.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3149, allocations: 4 kB / 364.5 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.3167, allocations: 1.39 MB / 365.9 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.3169, allocations: 35.97 kB / 365.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.3173, allocations: 40 kB / 365.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.3175, allocations: 109 kB / 366.1 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/0.3176, allocations: 47.92 kB / 366.1 MB, free: 7.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008954/0.3185, allocations: 0.7655 MB / 366.9 MB, free: 6.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3185, allocations: 0 / 366.9 MB, free: 6.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002815/0.3213, allocations: 0.832 MB / 367.7 MB, free: 5.938 MB / 346.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 (143): * Single equations (assignments): 138 * 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.0003382/0.3216, allocations: 144.1 kB / 367.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.3244, allocations: 2.121 MB / 370 MB, free: 3.672 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001437/0.3245, allocations: 75.3 kB / 370 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006082/0.3252, allocations: 0.5856 MB / 370.6 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3262, allocations: 0.4891 MB / 371.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.3397, allocations: 6.917 MB / 378 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.3409, allocations: 1.1 MB / 379.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001201/0.3421, allocations: 376.2 kB / 379.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.3432, allocations: 441.2 kB / 379.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3432, allocations: 0 / 379.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of Templates: time 0.04382/0.3871, allocations: 23.65 MB / 403.6 MB, free: 2.277 MB / 378.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: 3.7259335834532976]