Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.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.001456/0.001456, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001709/0.001709, allocations: 177 kB / 23.36 MB, free: 1.137 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.9878/0.9878, allocations: 177.1 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.02846/0.02846, allocations: 7.183 MB / 267.4 MB, free: 5.953 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.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 286 MB, free: 3.359 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.405e-05, allocations: 6.25 kB / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.1216/0.1217, allocations: 13.04 MB / 299.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.1296, allocations: 4.197 MB / 303.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.1313, allocations: 62.38 kB / 303.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.1321, allocations: 399.3 kB / 303.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.1343, allocations: 0.9707 MB / 304.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1356, allocations: 0.985 MB / 305.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.1376, allocations: 2.282 MB / 308 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.1394, allocations: 2.107 MB / 310.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.1409, allocations: 1.607 MB / 311.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.142, allocations: 1.088 MB / 312.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.1423, allocations: 312 kB / 313.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007779/0.1431, allocations: 0.7295 MB / 313.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004002/0.1435, allocations: 1.009 MB / 314.8 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007706/0.1443, allocations: 0.982 MB / 315.8 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.146, allocations: 2.569 MB / 318.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.146, allocations: 0 / 318.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.146, allocations: 0 / 318.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.96e-05/0.1461, allocations: 0 / 318.4 MB, free: 15.67 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 0.004552/0.1506, allocations: 3.47 MB / 321.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1507, allocations: 8.625 kB / 321.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004779/0.1511, allocations: 420.6 kB / 322.2 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009238/0.1521, allocations: 0.7583 MB / 323 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.1522, allocations: 214 kB / 323.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.1524, allocations: 288.3 kB / 323.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.1555, allocations: 3.139 MB / 326.6 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.728e-05/0.1555, allocations: 43.62 kB / 326.7 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.1557, allocations: 128 kB / 326.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003456/0.156, allocations: 428.2 kB / 327.2 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.1581, allocations: 1.402 MB / 328.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.1693, allocations: 17.95 MB / 346.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.1716, allocations: 1.043 MB / 347.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.172, allocations: 254.5 kB / 347.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002907/0.1749, allocations: 2.377 MB / 350.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1749, allocations: 43.56 kB / 350.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 3.948e-06/0.1749, allocations: 0 / 350.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=140): time 0.01068/0.1856, allocations: 5.681 MB / 356 MB, free: 8.707 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1856, allocations: 68.72 kB / 356 MB, free: 8.629 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.1866, allocations: 1.474 MB / 357.5 MB, free: 7.148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.1867, allocations: 53.7 kB / 357.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/0.1874, allocations: 1.748 MB / 359.3 MB, free: 5.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.1877, allocations: 0.5386 MB / 359.8 MB, free: 4.773 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/0.1882, allocations: 0.7115 MB / 360.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.1883, allocations: 349.8 kB / 360.9 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.1888, allocations: 436.8 kB / 361.3 MB, free: 3.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.1902, allocations: 2.595 MB / 363.9 MB, free: 15.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.1926, allocations: 3.598 MB / 367.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.1926, allocations: 23.94 kB / 367.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.002884/0.1955, allocations: 2.75 MB / 370.3 MB, free: 8.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.1956, allocations: 36 kB / 370.3 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.413e-05/0.1956, allocations: 80 kB / 370.4 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/0.1961, allocations: 267.6 kB / 370.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.1976, allocations: 0.8538 MB / 371.5 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.1997, allocations: 2.518 MB / 374 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.2009, allocations: 167.8 kB / 374.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.2011, allocations: 196 kB / 374.4 MB, free: 3.914 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 18 (revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[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 (466): * Single equations (assignments): 465 * Array equations: 0 * 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,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005882/0.2017, allocations: 428.8 kB / 374.8 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.2018, allocations: 143.8 kB / 374.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.2031, allocations: 1.07 MB / 376 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.2031, allocations: 12 kB / 376 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2031, allocations: 4 kB / 376 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2031, allocations: 11.97 kB / 376 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.2071, allocations: 2.965 MB / 379 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2071, allocations: 8.062 kB / 379 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/0.2076, allocations: 207.7 kB / 379.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/0.208, allocations: 199.7 kB / 379.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.208, allocations: 28 kB / 379.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.2096, allocations: 1.871 MB / 381.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.2096, allocations: 11.88 kB / 381.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.2111, allocations: 1.47 MB / 382.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.2113, allocations: 162.7 kB / 383 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.2114, allocations: 31.98 kB / 383 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.2117, allocations: 27.94 kB / 383 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.2119, allocations: 100.8 kB / 383.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.2119, allocations: 31.98 kB / 383.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000443/0.2124, allocations: 0.5666 MB / 383.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2124, allocations: 0 / 383.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001692/0.214, allocations: 0.625 MB / 384.3 MB, free: 9.656 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (121): * Single equations (assignments): 120 * Array equations: 0 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001913/0.2142, allocations: 128.1 kB / 384.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.2161, allocations: 1.853 MB / 386.3 MB, free: 7.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.892e-05/0.2162, allocations: 52.12 kB / 386.4 MB, free: 7.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.2168, allocations: 0.6031 MB / 387 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008993/0.2177, allocations: 419.3 kB / 387.4 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.2224, allocations: 4.138 MB / 391.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.2228, allocations: 0.5509 MB / 392.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007569/0.2236, allocations: 295 kB / 392.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006716/0.2243, allocations: 389.1 kB / 392.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2243, allocations: 8 kB / 392.7 MB, free: 1.105 MB / 346.7 MB Notification: Performance of Templates: time 0.03555/0.2598, allocations: 27.6 MB / 420.3 MB, free: 5.816 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.MeasureDemo -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.221416261047125]