Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.002212/0.002212, allocations: 93.47 kB / 19.44 MB, free: 336 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.002573/0.002573, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.566 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.05381/0.05381, allocations: 7.171 MB / 266.7 MB, free: 6.051 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.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0 / 338.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.492e-05, allocations: 2.312 kB / 338.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.007131/0.007156, allocations: 8.295 MB / 346.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004648/0.0118, allocations: 2.614 MB / 349 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008194/0.01262, allocations: 35.88 kB / 349.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009022/0.01353, allocations: 381.2 kB / 349.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.01683, allocations: 1.489 MB / 350.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.01721, allocations: 155.6 kB / 351.1 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003397/0.02061, allocations: 2.593 MB / 353.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.02201, allocations: 0.8787 MB / 354.6 MB, free: 10 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.02413, allocations: 1.418 MB / 356 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.02652, allocations: 1.348 MB / 357.3 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005238/0.02704, allocations: 240 kB / 357.6 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.02879, allocations: 0.8308 MB / 358.4 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.03031, allocations: 1.289 MB / 359.7 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.0318, allocations: 0.8447 MB / 360.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00738/0.03918, allocations: 5.097 MB / 365.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.03918, allocations: 0 / 365.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.03919, allocations: 0 / 365.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001553/0.03934, allocations: 0 / 365.6 MB, free: 14.91 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: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.01342/0.05276, allocations: 5.077 MB / 370.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.05281, allocations: 12.62 kB / 370.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007822/0.06063, allocations: 2.222 MB / 372.9 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.06404, allocations: 1.254 MB / 374.2 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.06421, allocations: 156.1 kB / 374.3 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004537/0.06466, allocations: 196.2 kB / 374.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.07481, allocations: 4.67 MB / 379.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.62e-05/0.07489, allocations: 20 kB / 379.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003111/0.0752, allocations: 107.8 kB / 379.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00355/0.07875, allocations: 1.915 MB / 381.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.08905, allocations: 3.041 MB / 384.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1973/0.2863, allocations: 37.73 MB / 422 MB, free: 53.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00419/0.2905, allocations: 1.256 MB / 423.3 MB, free: 53.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009363/0.2915, allocations: 430.6 kB / 423.7 MB, free: 53.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005239/0.2967, allocations: 2.485 MB / 426.2 MB, free: 53.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2967, allocations: 47.02 kB / 426.2 MB, free: 53.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=135): time 3.887e-06/0.2967, allocations: 0 / 426.2 MB, free: 53.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=149): time 0.00844/0.3052, allocations: 3.412 MB / 429.6 MB, free: 52.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3052, allocations: 71.28 kB / 429.7 MB, free: 52.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.3081, allocations: 2.579 MB / 432.3 MB, free: 52.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.3082, allocations: 40.95 kB / 432.3 MB, free: 52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.3094, allocations: 2.414 MB / 434.7 MB, free: 50.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/0.3099, allocations: 0.6236 MB / 435.4 MB, free: 49.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.3109, allocations: 0.992 MB / 436.4 MB, free: 49.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3111, allocations: 0.5436 MB / 436.9 MB, free: 48.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.3123, allocations: 0.5359 MB / 437.4 MB, free: 48.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.3146, allocations: 3.738 MB / 441.2 MB, free: 44.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.3184, allocations: 4.641 MB / 445.8 MB, free: 39.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.636e-05/0.3184, allocations: 18.62 kB / 445.8 MB, free: 39.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=491) (initialization): time 0.005695/0.3241, allocations: 3.403 MB / 449.2 MB, free: 37.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.3242, allocations: 36 kB / 449.3 MB, free: 37.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.609e-05/0.3242, allocations: 72 kB / 449.3 MB, free: 36.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.3248, allocations: 219.7 kB / 449.6 MB, free: 36.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.3269, allocations: 0.8305 MB / 450.4 MB, free: 35.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.3293, allocations: 2.863 MB / 453.2 MB, free: 32.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.3316, allocations: 183.9 kB / 453.4 MB, free: 32.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.3319, allocations: 218.3 kB / 453.6 MB, free: 32.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 21 (worldForce.arrowTorque.twoHeadedArrow,worldForce.arrowTorque.headAtOrigin,worldForce.arrowForce.twoHeadedArrow,worldForce.arrowForce.headAtOrigin,cutForce.arrowForce.twoHeadedArrow,cutForce.arrowForce.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],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 (453): * Single equations (assignments): 448 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001294/0.3332, allocations: 0.5677 MB / 454.2 MB, free: 32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.3335, allocations: 232.9 kB / 454.4 MB, free: 31.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.3356, allocations: 1.116 MB / 455.6 MB, free: 30.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.15e-05/0.3357, allocations: 31.98 kB / 455.6 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3357, allocations: 4 kB / 455.6 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3357, allocations: 11.91 kB / 455.6 MB, free: 30.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008363/0.3441, allocations: 5.121 MB / 460.7 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.3441, allocations: 4 kB / 460.7 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/0.3449, allocations: 219.7 kB / 460.9 MB, free: 25.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/0.3454, allocations: 111.8 kB / 461 MB, free: 25.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.3454, allocations: 31.94 kB / 461.1 MB, free: 25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.3471, allocations: 2.521 MB / 463.6 MB, free: 22.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3471, allocations: 7.938 kB / 463.6 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/0.3499, allocations: 1.827 MB / 465.4 MB, free: 20.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.3502, allocations: 182.8 kB / 465.6 MB, free: 20.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.3504, allocations: 24 kB / 465.6 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/0.3511, allocations: 77.17 kB / 465.7 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.3513, allocations: 108.6 kB / 465.8 MB, free: 20.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.3514, allocations: 43.98 kB / 465.9 MB, free: 19.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001338/0.3527, allocations: 1.081 MB / 466.9 MB, free: 18.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3527, allocations: 4.109 kB / 466.9 MB, free: 18.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002554/0.3553, allocations: 0.6418 MB / 467.6 MB, free: 18.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (114): * Single equations (assignments): 109 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002721/0.3556, allocations: 161.6 kB / 467.7 MB, free: 18.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003361/0.3589, allocations: 2.271 MB / 470 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3589, allocations: 4.062 kB / 470 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009303/0.3598, allocations: 0.722 MB / 470.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.3611, allocations: 302.1 kB / 471 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/0.3683, allocations: 5.576 MB / 476.6 MB, free: 9.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/0.37, allocations: 1.846 MB / 478.5 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001855/0.3719, allocations: 0.9373 MB / 479.4 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.3722, allocations: 152.5 kB / 479.5 MB, free: 6.133 MB / 330.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3722, allocations: 0 / 479.5 MB, free: 6.133 MB / 330.7 MB Notification: Performance of Templates: time 0.03898/0.4112, allocations: 19.68 MB / 499.2 MB, free: 2.742 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.sim & ./PlanarMechanics_PlanarMechanics.Examples.PendulumExcited -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.57467150001321]