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.001048/0.001048, allocations: 80.88 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.001213/0.001213, allocations: 181 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.9991/0.9991, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.03078/0.03078, allocations: 7.186 MB / 267.4 MB, free: 5.93 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.422e-06/1.422e-06, allocations: 0 / 286.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.928e-05, allocations: 2.312 kB / 286.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.1214/0.1214, allocations: 13.1 MB / 299.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.1292, allocations: 4.195 MB / 303.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.131, allocations: 62.31 kB / 303.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008612/0.1319, allocations: 399.9 kB / 303.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.1341, allocations: 0.9622 MB / 304.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1354, allocations: 0.9753 MB / 305.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.1374, allocations: 2.296 MB / 308.1 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.1393, allocations: 2.089 MB / 310.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.1408, allocations: 1.608 MB / 311.8 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.1419, allocations: 1.092 MB / 312.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.1422, allocations: 308 kB / 313.2 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008241/0.143, allocations: 0.7451 MB / 313.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004136/0.1434, allocations: 1.013 MB / 314.9 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005375/0.1439, allocations: 0.9781 MB / 315.9 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.1456, allocations: 2.561 MB / 318.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1456, allocations: 0 / 318.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1456, allocations: 0 / 318.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.1456, allocations: 0 / 318.4 MB, free: 15.53 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.004659/0.1503, allocations: 3.47 MB / 321.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1503, allocations: 8.625 kB / 321.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004873/0.1508, allocations: 424.6 kB / 322.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/0.1518, allocations: 0.7622 MB / 323.1 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.1519, allocations: 213.4 kB / 323.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.1521, allocations: 292.8 kB / 323.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.1556, allocations: 3.137 MB / 326.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.309e-05/0.1557, allocations: 39.64 kB / 326.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.1558, allocations: 128 kB / 326.9 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003318/0.1562, allocations: 428.2 kB / 327.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.1589, allocations: 1.401 MB / 328.7 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.1705, allocations: 17.96 MB / 346.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.1729, allocations: 1.034 MB / 347.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.1732, allocations: 258.5 kB / 348 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003067/0.1763, allocations: 2.373 MB / 350.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1763, allocations: 43.56 kB / 350.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 2.635e-06/0.1763, allocations: 0 / 350.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=140): time 0.01113/0.1874, allocations: 5.675 MB / 356.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1875, allocations: 68.66 kB / 356.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009746/0.1884, allocations: 1.474 MB / 357.6 MB, free: 7.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.1885, allocations: 53.7 kB / 357.6 MB, free: 6.961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000644/0.1892, allocations: 1.748 MB / 359.4 MB, free: 5.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.1894, allocations: 0.5425 MB / 359.9 MB, free: 4.641 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005698/0.19, allocations: 0.7193 MB / 360.7 MB, free: 3.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.1901, allocations: 349.8 kB / 361 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.1906, allocations: 432.8 kB / 361.4 MB, free: 3.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.1922, allocations: 2.591 MB / 364 MB, free: 15.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.1947, allocations: 3.599 MB / 367.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/0.1947, allocations: 24 kB / 367.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.003043/0.1977, allocations: 2.749 MB / 370.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.1978, allocations: 36 kB / 370.4 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.269e-05/0.1978, allocations: 80.88 kB / 370.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.1983, allocations: 267.5 kB / 370.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.1999, allocations: 0.9046 MB / 371.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.2021, allocations: 2.512 MB / 374.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.2038, allocations: 167.9 kB / 374.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.204, allocations: 196 kB / 374.5 MB, free: 3.734 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.0006866/0.2047, allocations: 429.5 kB / 375 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.205, allocations: 147.7 kB / 375.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.2069, allocations: 1.07 MB / 376.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.2069, allocations: 12 kB / 376.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2069, allocations: 4 kB / 376.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.2069, allocations: 7.969 kB / 376.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004822/0.2118, allocations: 2.974 MB / 379.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.2118, allocations: 4 kB / 379.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.2125, allocations: 220.2 kB / 379.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005142/0.2131, allocations: 199.8 kB / 379.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.625e-05/0.2131, allocations: 31.98 kB / 379.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.215, allocations: 1.868 MB / 381.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.215, allocations: 15.88 kB / 381.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.2172, allocations: 1.47 MB / 383 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.2174, allocations: 154.7 kB / 383.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.2176, allocations: 35.98 kB / 383.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.218, allocations: 24 kB / 383.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.2182, allocations: 96.7 kB / 383.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/0.2183, allocations: 35.98 kB / 383.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005675/0.2189, allocations: 0.5704 MB / 383.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2189, allocations: 0 / 383.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002238/0.2211, allocations: 0.6289 MB / 384.5 MB, free: 9.457 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.0001964/0.2213, allocations: 124.1 kB / 384.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.2237, allocations: 1.849 MB / 386.5 MB, free: 7.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001036/0.2238, allocations: 47.94 kB / 386.5 MB, free: 7.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007455/0.2245, allocations: 0.6155 MB / 387.1 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.2257, allocations: 415.2 kB / 387.5 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/0.2316, allocations: 4.139 MB / 391.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.2321, allocations: 0.547 MB / 392.2 MB, free: 1.594 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009359/0.2331, allocations: 294.9 kB / 392.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008845/0.234, allocations: 393.1 kB / 392.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.234, allocations: 3.938 kB / 392.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of Templates: time 0.04686/0.2808, allocations: 27.6 MB / 420.5 MB, free: 5.621 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.130138700827956]