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.002385/0.002385, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.003056/0.003056, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.05383/0.05383, allocations: 7.173 MB / 266.7 MB, free: 6.105 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.004e-06/2.004e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.034e-05, allocations: 2.312 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01301/0.01304, allocations: 13.24 MB / 351.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00995/0.02299, allocations: 4.036 MB / 355.4 MB, free: 9.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.02547, allocations: 63.75 kB / 355.5 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.02678, allocations: 396.6 kB / 355.9 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00316/0.02994, allocations: 0.9705 MB / 356.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.03199, allocations: 0.9709 MB / 357.8 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003634/0.03563, allocations: 2.29 MB / 360.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003368/0.03899, allocations: 2.061 MB / 362.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.04132, allocations: 1.61 MB / 363.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.04344, allocations: 1.091 MB / 364.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005368/0.04397, allocations: 312 kB / 365.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.04538, allocations: 0.7335 MB / 365.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.04649, allocations: 1.005 MB / 366.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.04792, allocations: 0.9859 MB / 367.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005339/0.05326, allocations: 3.957 MB / 371.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.05326, allocations: 4 kB / 371.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05326, allocations: 0 / 371.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.203e-05/0.05336, allocations: 0 / 371.8 MB, free: 8.664 MB / 298.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.01272/0.06607, allocations: 4.659 MB / 376.5 MB, free: 3.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.06612, allocations: 8.625 kB / 376.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.06722, allocations: 0.5379 MB / 377 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.06961, allocations: 1.049 MB / 378.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.06986, allocations: 214 kB / 378.3 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/0.07034, allocations: 292.2 kB / 378.6 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008814/0.07916, allocations: 4.376 MB / 383 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.07928, allocations: 43.72 kB / 383 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.07957, allocations: 128 kB / 383.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006749/0.08025, allocations: 432.2 kB / 383.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00656/0.08681, allocations: 2.226 MB / 385.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1909/0.2777, allocations: 27.69 MB / 413.5 MB, free: 56.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/0.2823, allocations: 1.187 MB / 414.7 MB, free: 56.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008569/0.2831, allocations: 457.1 kB / 415.1 MB, free: 56.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006468/0.2896, allocations: 2.993 MB / 418.1 MB, free: 56.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2896, allocations: 44.7 kB / 418.1 MB, free: 56.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 3.596e-06/0.2896, allocations: 2.812 kB / 418.1 MB, free: 56.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.0187/0.3083, allocations: 7.53 MB / 425.7 MB, free: 54.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3084, allocations: 68.62 kB / 425.7 MB, free: 54.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.3107, allocations: 2.325 MB / 428.1 MB, free: 52.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.71e-05/0.3108, allocations: 45.7 kB / 428.1 MB, free: 52.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007607/0.3116, allocations: 2.017 MB / 430.1 MB, free: 50.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.3119, allocations: 0.5964 MB / 430.7 MB, free: 50.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008883/0.3128, allocations: 0.9151 MB / 431.6 MB, free: 49.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3129, allocations: 0.5355 MB / 432.2 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.314, allocations: 0.7531 MB / 432.9 MB, free: 48.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.316, allocations: 4.09 MB / 437 MB, free: 42.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/0.3201, allocations: 5.369 MB / 442.4 MB, free: 35.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.037e-05/0.3201, allocations: 24 kB / 442.4 MB, free: 35.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.006924/0.327, allocations: 4.024 MB / 446.4 MB, free: 31.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.3271, allocations: 36 kB / 446.5 MB, free: 31.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-05/0.3271, allocations: 80 kB / 446.5 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008399/0.328, allocations: 321.9 kB / 446.9 MB, free: 31.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.3304, allocations: 0.8967 MB / 447.8 MB, free: 30.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/0.334, allocations: 3.638 MB / 451.4 MB, free: 26.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.3367, allocations: 215.8 kB / 451.6 MB, free: 26.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/0.337, allocations: 232 kB / 451.8 MB, free: 26.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 352 * 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 (464): * Single equations (assignments): 463 * 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.001084/0.3381, allocations: 0.6451 MB / 452.5 MB, free: 25.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.3385, allocations: 234.7 kB / 452.7 MB, free: 25.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/0.3413, allocations: 1.644 MB / 454.4 MB, free: 23.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.3413, allocations: 23.88 kB / 454.4 MB, free: 23.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3413, allocations: 0 / 454.4 MB, free: 23.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.3413, allocations: 11.97 kB / 454.4 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009331/0.3506, allocations: 5.166 MB / 459.6 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.3506, allocations: 4 kB / 459.6 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.3516, allocations: 271.6 kB / 459.8 MB, free: 18.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006315/0.3523, allocations: 185.6 kB / 460 MB, free: 17.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.3524, allocations: 27.94 kB / 460 MB, free: 17.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/0.3549, allocations: 2.783 MB / 462.8 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3549, allocations: 7.938 kB / 462.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.3582, allocations: 2.333 MB / 465.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.3586, allocations: 162.7 kB / 465.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.3588, allocations: 32 kB / 465.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007944/0.3596, allocations: 105.9 kB / 465.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.3598, allocations: 104.6 kB / 465.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.3599, allocations: 36 kB / 465.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001222/0.3611, allocations: 1.006 MB / 466.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3611, allocations: 0 / 466.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002603/0.3637, allocations: 0.625 MB / 467.2 MB, free: 10.51 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.0002221/0.364, allocations: 142.9 kB / 467.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003659/0.3676, allocations: 2.705 MB / 470.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.3676, allocations: 0 / 470.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.3687, allocations: 0.9305 MB / 471 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.3704, allocations: 417.6 kB / 471.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.3762, allocations: 4.462 MB / 475.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.3773, allocations: 1.184 MB / 477 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001672/0.3789, allocations: 0.7081 MB / 477.8 MB, free: 15.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.3794, allocations: 148.5 kB / 477.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3794, allocations: 0 / 477.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of Templates: time 0.05054/0.43, allocations: 26.06 MB / 0.4922 GB, free: 5.816 MB / 362.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: 5.653728159028105]