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.0008406/0.0008406, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001611/0.001611, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.8662/0.8662, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.02927/0.02927, allocations: 7.179 MB / 267.4 MB, free: 5.949 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.462e-06/1.462e-06, allocations: 0 / 286 MB, free: 3.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.634e-05, allocations: 2.312 kB / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.1174/0.1174, allocations: 10.24 MB / 296.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005649/0.1231, allocations: 3.073 MB / 299.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009964/0.1241, allocations: 51.84 kB / 299.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008611/0.1249, allocations: 474.5 kB / 299.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.1279, allocations: 1.796 MB / 301.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.1283, allocations: 179.4 kB / 301.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.1311, allocations: 3.202 MB / 305 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.1322, allocations: 1.026 MB / 306.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.1341, allocations: 1.763 MB / 307.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.1357, allocations: 1.553 MB / 309.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004473/0.1362, allocations: 294.9 kB / 309.7 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1373, allocations: 0.8909 MB / 310.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007897/0.138, allocations: 1.581 MB / 312.1 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007778/0.1388, allocations: 1.039 MB / 313.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.1415, allocations: 4.008 MB / 317.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1415, allocations: 0 / 317.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1415, allocations: 0 / 317.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.718e-05/0.1415, allocations: 0 / 317.2 MB, free: 0.8633 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.005468/0.147, allocations: 4.116 MB / 321.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.147, allocations: 12.62 kB / 321.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003974/0.151, allocations: 1.16 MB / 322.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.1526, allocations: 1.159 MB / 323.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.1527, allocations: 193.2 kB / 323.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/0.1531, allocations: 256.1 kB / 324.1 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004763/0.1579, allocations: 4.277 MB / 328.3 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.015e-05/0.1579, allocations: 27.77 kB / 328.4 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.1582, allocations: 119.8 kB / 328.5 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001807/0.16, allocations: 2.093 MB / 330.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.1644, allocations: 2.345 MB / 332.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.1819, allocations: 22.99 MB / 355.9 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.1844, allocations: 1.284 MB / 357.2 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.1848, allocations: 325.3 kB / 357.5 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003504/0.1883, allocations: 2.819 MB / 360.3 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1883, allocations: 50.83 kB / 360.4 MB, free: 4.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=159): time 2.735e-06/0.1883, allocations: 0 / 360.4 MB, free: 4.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=181): time 0.006671/0.195, allocations: 4.214 MB / 364.6 MB, free: 164 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.195, allocations: 72.66 kB / 364.7 MB, free: 80 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.1965, allocations: 2.154 MB / 366.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.1966, allocations: 49.69 kB / 366.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.1977, allocations: 2.686 MB / 369.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.198, allocations: 0.7091 MB / 370.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007418/0.1988, allocations: 0.9457 MB / 371.2 MB, free: 9.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.1989, allocations: 353.8 kB / 371.6 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.1995, allocations: 0.5009 MB / 372.1 MB, free: 8.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.2014, allocations: 3.219 MB / 375.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.2041, allocations: 4.387 MB / 379.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/0.2041, allocations: 31.94 kB / 379.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.003314/0.2074, allocations: 3.308 MB / 383 MB, free: 10.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.2075, allocations: 48 kB / 383.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.849e-05/0.2075, allocations: 100 kB / 383.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.208, allocations: 307.2 kB / 383.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.2096, allocations: 1.08 MB / 384.5 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.2113, allocations: 2.37 MB / 386.9 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.2125, allocations: 196 kB / 387.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004566/0.213, allocations: 252 kB / 387.3 MB, free: 6.371 MB / 346.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.0007856/0.2138, allocations: 0.5128 MB / 387.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.2139, allocations: 171.8 kB / 388 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.215, allocations: 0.9482 MB / 389 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.989e-05/0.2151, allocations: 31.94 kB / 389 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2151, allocations: 4 kB / 389 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.2151, allocations: 7.969 kB / 389 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003877/0.219, allocations: 3.601 MB / 392.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.219, allocations: 4 kB / 392.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.2195, allocations: 231.6 kB / 392.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.2201, allocations: 259.6 kB / 393.1 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.2201, allocations: 35.94 kB / 393.1 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.2214, allocations: 1.755 MB / 394.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.2214, allocations: 4 kB / 394.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.2228, allocations: 1.382 MB / 396.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.223, allocations: 206.4 kB / 396.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.2231, allocations: 39.97 kB / 396.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.2235, allocations: 28 kB / 396.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.2236, allocations: 117 kB / 396.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.2237, allocations: 39.98 kB / 396.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005987/0.2243, allocations: 0.7733 MB / 397.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2243, allocations: 0 / 397.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001852/0.2261, allocations: 0.8203 MB / 398.3 MB, free: 11.09 MB / 362.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.0002415/0.2264, allocations: 156 kB / 398.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.2284, allocations: 2.111 MB / 400.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.93e-05/0.2285, allocations: 63.94 kB / 400.6 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006004/0.2291, allocations: 0.5756 MB / 401.2 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008414/0.2299, allocations: 321.7 kB / 401.5 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007495/0.2374, allocations: 6.802 MB / 408.3 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/0.2383, allocations: 1.096 MB / 409.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008212/0.2391, allocations: 381.5 kB / 409.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005601/0.2397, allocations: 433.2 kB / 410.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2397, allocations: 0 / 410.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of Templates: time 0.03369/0.2734, allocations: 23.1 MB / 433.3 MB, free: 8.301 MB / 394.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.462960024829954]