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.001355/0.001355, allocations: 80.75 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.001587/0.001587, allocations: 181 kB / 23.36 MB, free: 1.129 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.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.03117/0.03117, allocations: 7.184 MB / 267.4 MB, free: 5.961 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.943e-06/1.943e-06, allocations: 0 / 286.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.037e-05, allocations: 2.312 kB / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.1242/0.1243, allocations: 10.28 MB / 296.4 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006431/0.1307, allocations: 3.074 MB / 299.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.1321, allocations: 45.69 kB / 299.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1332, allocations: 479 kB / 299.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.137, allocations: 1.796 MB / 301.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.1374, allocations: 169 kB / 301.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003302/0.1407, allocations: 3.202 MB / 305.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.1419, allocations: 1.03 MB / 306.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.144, allocations: 1.754 MB / 307.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.1458, allocations: 1.555 MB / 309.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005033/0.1463, allocations: 293.2 kB / 309.7 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.1474, allocations: 0.9088 MB / 310.6 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006528/0.148, allocations: 1.588 MB / 312.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008578/0.1489, allocations: 1.047 MB / 313.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.1516, allocations: 3.996 MB / 317.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1516, allocations: 0 / 317.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1516, allocations: 0 / 317.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.659e-05/0.1517, allocations: 4 kB / 317.3 MB, free: 0.7695 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.004791/0.1565, allocations: 4.117 MB / 321.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1565, allocations: 12.62 kB / 321.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.1597, allocations: 1.156 MB / 322.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.1612, allocations: 1.159 MB / 323.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.1613, allocations: 197.2 kB / 323.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.1616, allocations: 264.1 kB / 324.2 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004969/0.1666, allocations: 4.269 MB / 328.4 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.887e-05/0.1666, allocations: 31.7 kB / 328.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.1668, allocations: 115.8 kB / 328.6 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002175/0.169, allocations: 2.092 MB / 330.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004267/0.1733, allocations: 2.341 MB / 333 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01958/0.1929, allocations: 23 MB / 356 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.1956, allocations: 1.27 MB / 357.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.1961, allocations: 325.3 kB / 357.6 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004187/0.2002, allocations: 2.838 MB / 360.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2003, allocations: 47.86 kB / 360.5 MB, free: 4.316 MB / 314.7 MB Notification: Performance of pre-optimization done (n=159): time 4.358e-06/0.2003, allocations: 0 / 360.5 MB, free: 4.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=181): time 0.007383/0.2077, allocations: 4.209 MB / 364.7 MB, free: 76 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.2077, allocations: 72.7 kB / 364.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.2096, allocations: 2.158 MB / 366.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.2097, allocations: 53.7 kB / 367 MB, free: 13.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.2107, allocations: 2.682 MB / 369.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/0.211, allocations: 0.7013 MB / 370.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007536/0.2118, allocations: 0.9457 MB / 371.3 MB, free: 9.363 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.2119, allocations: 357.8 kB / 371.7 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006299/0.2125, allocations: 0.5009 MB / 372.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.2145, allocations: 3.223 MB / 375.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/0.2178, allocations: 4.379 MB / 379.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-05/0.2179, allocations: 32 kB / 379.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.003572/0.2214, allocations: 3.318 MB / 383.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.2215, allocations: 46.25 kB / 383.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.277e-05/0.2216, allocations: 107.9 kB / 383.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.2221, allocations: 298.5 kB / 383.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.224, allocations: 1.131 MB / 384.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.2261, allocations: 2.366 MB / 387 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.2278, allocations: 196 kB / 387.2 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/0.228, allocations: 256 kB / 387.5 MB, free: 6.23 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.000992/0.229, allocations: 0.5087 MB / 388 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.2293, allocations: 167.8 kB / 388.2 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.2305, allocations: 0.956 MB / 389.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.002e-05/0.2306, allocations: 27.94 kB / 389.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2306, allocations: 4 kB / 389.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2306, allocations: 7.969 kB / 389.2 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004418/0.235, allocations: 3.596 MB / 392.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.235, allocations: 480 / 392.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008345/0.2358, allocations: 255.6 kB / 393 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/0.2363, allocations: 260.4 kB / 393.3 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.2364, allocations: 35.92 kB / 393.3 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.2377, allocations: 1.76 MB / 395 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2377, allocations: 4 kB / 395.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.2391, allocations: 1.386 MB / 396.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.2394, allocations: 202.4 kB / 396.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.2395, allocations: 32 kB / 396.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.2399, allocations: 39.98 kB / 396.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.2401, allocations: 113 kB / 396.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-05/0.2401, allocations: 43.98 kB / 396.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006553/0.2408, allocations: 0.7655 MB / 397.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2408, allocations: 0 / 397.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002132/0.2429, allocations: 0.828 MB / 398.5 MB, free: 10.92 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.0002375/0.2431, allocations: 148 kB / 398.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.2456, allocations: 2.11 MB / 400.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.994e-05/0.2457, allocations: 60.62 kB / 400.8 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.2462, allocations: 0.5888 MB / 401.4 MB, free: 7.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.247, allocations: 317.4 kB / 401.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007711/0.2547, allocations: 6.799 MB / 408.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.2556, allocations: 1.103 MB / 409.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009013/0.2565, allocations: 380.3 kB / 409.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006002/0.2571, allocations: 437.2 kB / 410.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2571, allocations: 0 / 410.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of Templates: time 0.03759/0.2947, allocations: 23.09 MB / 433.5 MB, free: 8.148 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5685931742191315]