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.0009749/0.0009749, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002221, 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.0006887/0.0006887, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009035/0.001592, 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.016/1.016, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.126, 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.0291/0.0291, allocations: 7.176 MB / 251.1 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00628/0.03538, allocations: 2.557 MB / 253.7 MB, free: 5.309 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 2.434e-06/2.434e-06, allocations: 0 / 255 MB, free: 4.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.865e-05, allocations: 6.312 kB / 255 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01165/0.01168, allocations: 13.15 MB / 268.1 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009636/0.02131, allocations: 4.239 MB / 272.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.02297, allocations: 71.69 kB / 272.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008569/0.02383, allocations: 400.6 kB / 272.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.02569, allocations: 0.9393 MB / 273.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.02703, allocations: 0.9785 MB / 274.7 MB, free: 188 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1497/0.1768, allocations: 2.271 MB / 277 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.1796, allocations: 2.086 MB / 279.1 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.1823, allocations: 1.655 MB / 280.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.1843, allocations: 1.089 MB / 281.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007388/0.185, allocations: 309.7 kB / 282.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1864, allocations: 0.7372 MB / 282.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007939/0.1872, allocations: 0.8576 MB / 283.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.1885, allocations: 0.8125 MB / 284.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.1915, allocations: 2.38 MB / 286.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.078e-05/0.1915, allocations: 2 kB / 286.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1915, allocations: 0.5312 kB / 286.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001177/0.1916, allocations: 0.7188 kB / 286.9 MB, free: 0.75 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: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 0.006424/0.198, allocations: 4.112 MB / 291 MB, free: 15.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1981, allocations: 11.33 kB / 291 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.1987, allocations: 424.7 kB / 291.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.1999, allocations: 0.7655 MB / 292.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.2001, allocations: 213 kB / 292.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.2004, allocations: 287.5 kB / 292.7 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.2041, allocations: 3.125 MB / 295.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.986e-05/0.2042, allocations: 38.86 kB / 295.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.2044, allocations: 133.8 kB / 296 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004356/0.2048, allocations: 425.8 kB / 296.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.2075, allocations: 1.404 MB / 297.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.2206, allocations: 17.97 MB / 315.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/0.2236, allocations: 1.001 MB / 316.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.224, allocations: 259.5 kB / 317.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003563/0.2276, allocations: 2.374 MB / 319.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.2276, allocations: 47.56 kB / 319.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.975e-06/0.2276, allocations: 0 / 319.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.01293/0.2405, allocations: 5.638 MB / 325.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2406, allocations: 64.72 kB / 325.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.2417, allocations: 1.475 MB / 326.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.2417, allocations: 49.7 kB / 326.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006869/0.2424, allocations: 1.755 MB / 328.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.2427, allocations: 0.535 MB / 329 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.2433, allocations: 0.7144 MB / 329.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.2434, allocations: 354.2 kB / 330.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/0.2438, allocations: 432.8 kB / 330.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.2452, allocations: 2.591 MB / 333.1 MB, free: 7.539 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.2476, allocations: 3.604 MB / 336.7 MB, free: 3.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/0.2476, allocations: 20 kB / 336.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.002981/0.2506, allocations: 2.746 MB / 339.4 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.2507, allocations: 44 kB / 339.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.676e-05/0.2507, allocations: 76 kB / 339.6 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.2513, allocations: 268.5 kB / 339.8 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.2528, allocations: 0.9725 MB / 340.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.2553, allocations: 2.509 MB / 343.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.2566, allocations: 171.8 kB / 343.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.2568, allocations: 196 kB / 343.7 MB, free: 12.56 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.0008194/0.2576, allocations: 437 kB / 344.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.2578, allocations: 139.9 kB / 344.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.2591, allocations: 1.069 MB / 345.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2591, allocations: 16 kB / 345.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2591, allocations: 4 kB / 345.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.2591, allocations: 14.12 kB / 345.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.2636, allocations: 2.966 MB / 348.3 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.2636, allocations: 8.062 kB / 348.3 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.2642, allocations: 239.6 kB / 348.5 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.2644, allocations: 153.7 kB / 348.7 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/0.2648, allocations: 197.6 kB / 348.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.2648, allocations: 32 kB / 348.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.2667, allocations: 1.884 MB / 350.8 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.2667, allocations: 7.938 kB / 350.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.2689, allocations: 1.477 MB / 352.3 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.2691, allocations: 28.03 kB / 352.3 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.2695, allocations: 27.94 kB / 352.3 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.2697, allocations: 100.8 kB / 352.4 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.2697, allocations: 36 kB / 352.5 MB, free: 3.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005137/0.2702, allocations: 0.5668 MB / 353 MB, free: 3.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2702, allocations: 0 / 353 MB, free: 3.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002267/0.2725, allocations: 0.625 MB / 353.7 MB, free: 2.598 MB / 330.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.0002187/0.2727, allocations: 127.9 kB / 353.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.2749, allocations: 1.851 MB / 355.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001187/0.275, allocations: 63.3 kB / 355.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006085/0.2756, allocations: 0.6095 MB / 356.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.2766, allocations: 0.5428 MB / 356.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007791/0.2844, allocations: 4.277 MB / 361.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.2848, allocations: 0.552 MB / 361.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00104/0.2859, allocations: 292.1 kB / 362 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009041/0.2868, allocations: 393.1 kB / 362.3 MB, free: 9.859 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.2868, allocations: 4 kB / 362.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of Templates: time 0.03505/0.3218, allocations: 27.94 MB / 390.3 MB, free: 14.29 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.3148922957479954]