Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.001102/0.001102, allocations: 92.22 kB / 19.65 MB, free: 276 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.001585/0.001585, allocations: 169 kB / 23.02 MB, free: 1.551 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.9779/0.9779, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.02906/0.02906, allocations: 7.188 MB / 267.1 MB, free: 6.062 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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.908e-05, allocations: 2.312 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.004721/0.00475, allocations: 6.885 MB / 345.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.007544, allocations: 2.375 MB / 348.1 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.007867, allocations: 35.88 kB / 348.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.008416, allocations: 321.9 kB / 348.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.01006, allocations: 1.361 MB / 349.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.01022, allocations: 79.83 kB / 349.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.01166, allocations: 2.221 MB / 352.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.01213, allocations: 0.6224 MB / 352.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.0129, allocations: 1.173 MB / 353.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009343/0.01384, allocations: 1.165 MB / 355.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.01401, allocations: 208 kB / 355.3 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000817/0.01483, allocations: 0.7917 MB / 356.1 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006966/0.01553, allocations: 1.118 MB / 357.2 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.016, allocations: 0.7007 MB / 357.9 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.0182, allocations: 2.953 MB / 360.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.0182, allocations: 0 / 360.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0182, allocations: 0 / 360.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.01822, allocations: 4 kB / 360.9 MB, free: 4.125 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: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.004187/0.02241, allocations: 3.646 MB / 364.5 MB, free: 436 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.02245, allocations: 8.625 kB / 364.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003636/0.02609, allocations: 2.116 MB / 366.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.02738, allocations: 1.104 MB / 367.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.02745, allocations: 123.4 kB / 367.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.02769, allocations: 164.2 kB / 368 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.03177, allocations: 3.495 MB / 371.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/0.03181, allocations: 16.81 kB / 371.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.03197, allocations: 83.88 kB / 371.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001544/0.03351, allocations: 1.734 MB / 373.3 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/0.03728, allocations: 2.066 MB / 375.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.05255, allocations: 21.44 MB / 396.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.05437, allocations: 0.8242 MB / 397.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.05472, allocations: 250.5 kB / 397.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002244/0.05697, allocations: 1.891 MB / 399.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.05699, allocations: 42.39 kB / 399.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 2.695e-06/0.057, allocations: 0 / 399.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=125): time 0.005253/0.06225, allocations: 3.344 MB / 403.2 MB, free: 8.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.06228, allocations: 64.41 kB / 403.3 MB, free: 8.527 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.06374, allocations: 1.687 MB / 404.9 MB, free: 6.812 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.06378, allocations: 41.7 kB / 405 MB, free: 6.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008848/0.06467, allocations: 2.012 MB / 407 MB, free: 4.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/0.06494, allocations: 0.5001 MB / 407.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007086/0.06565, allocations: 0.7335 MB / 408.2 MB, free: 3.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.06578, allocations: 0.5081 MB / 408.7 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.06637, allocations: 354.4 kB / 409.1 MB, free: 2.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.155/0.2213, allocations: 3.1 MB / 412.2 MB, free: 61.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/0.2244, allocations: 3.795 MB / 416 MB, free: 57.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/0.2245, allocations: 20.38 kB / 416 MB, free: 57.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=438) (initialization): time 0.003484/0.2279, allocations: 2.784 MB / 418.8 MB, free: 57.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.228, allocations: 34.03 kB / 418.8 MB, free: 57.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.487e-05/0.2281, allocations: 68.33 kB / 418.9 MB, free: 57.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.2285, allocations: 171.4 kB / 419 MB, free: 57.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.2299, allocations: 0.7373 MB / 419.8 MB, free: 57.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.2315, allocations: 2.603 MB / 422.4 MB, free: 55.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.2327, allocations: 164.2 kB / 422.5 MB, free: 55.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.2329, allocations: 199.8 kB / 422.7 MB, free: 55.31 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (403): * Single equations (assignments): 398 * Array equations: 4 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007633/0.2337, allocations: 421.9 kB / 423.2 MB, free: 55.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.2339, allocations: 192.2 kB / 423.3 MB, free: 55.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.2351, allocations: 0.8015 MB / 424.1 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.117e-05/0.2351, allocations: 30.28 kB / 424.2 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2351, allocations: 1.125 kB / 424.2 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.2352, allocations: 3.203 kB / 424.2 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.2398, allocations: 3.354 MB / 427.5 MB, free: 54.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.2398, allocations: 5.156 kB / 427.5 MB, free: 54.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.2402, allocations: 164.5 kB / 427.7 MB, free: 54.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/0.2404, allocations: 87.89 kB / 427.8 MB, free: 54.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.2404, allocations: 29.03 kB / 427.8 MB, free: 54.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000956/0.2414, allocations: 2.05 MB / 429.9 MB, free: 52.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2414, allocations: 4.422 kB / 429.9 MB, free: 52.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.2428, allocations: 1.291 MB / 431.2 MB, free: 52.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.2429, allocations: 157.4 kB / 431.3 MB, free: 52.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/0.243, allocations: 22.97 kB / 431.3 MB, free: 52.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.2433, allocations: 54.53 kB / 431.4 MB, free: 52.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.2434, allocations: 78.92 kB / 431.5 MB, free: 52.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.2435, allocations: 42.08 kB / 431.5 MB, free: 52.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007164/0.2442, allocations: 0.7534 MB / 432.3 MB, free: 51.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2442, allocations: 0 / 432.3 MB, free: 51.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001488/0.2457, allocations: 0.557 MB / 432.8 MB, free: 51.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (revolute.phi,revolute.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 (93): * Single equations (assignments): 88 * Array equations: 4 * 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 {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002445/0.2459, allocations: 153.8 kB / 433 MB, free: 51.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.2478, allocations: 1.658 MB / 434.6 MB, free: 51.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2478, allocations: 0 / 434.6 MB, free: 51.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.2483, allocations: 0.5287 MB / 435.2 MB, free: 51.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.249, allocations: 249.4 kB / 435.4 MB, free: 50.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.2536, allocations: 4.689 MB / 440.1 MB, free: 46.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.2542, allocations: 0.8208 MB / 440.9 MB, free: 45.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001005/0.2552, allocations: 0.86 MB / 441.8 MB, free: 45.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.2554, allocations: 128.4 kB / 441.9 MB, free: 45.29 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2554, allocations: 0 / 441.9 MB, free: 45.29 MB / 330.7 MB Notification: Performance of Templates: time 0.02148/0.2769, allocations: 17.02 MB / 458.9 MB, free: 29.41 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3809336917474866]