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.001428/0.001428, allocations: 84.73 kB / 19.44 MB, free: 348 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.001505/0.001505, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.05067/0.05067, allocations: 7.179 MB / 266.7 MB, free: 6.094 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 1.674e-06/1.674e-06, allocations: 3.938 kB / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.413e-05, allocations: 2.312 kB / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.006471/0.006495, allocations: 7.623 MB / 345.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003995/0.01049, allocations: 2.548 MB / 348.3 MB, free: 368 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008957/0.01139, allocations: 35.88 kB / 348.3 MB, free: 332 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000913/0.0123, allocations: 381.4 kB / 348.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.01596, allocations: 1.481 MB / 350.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.0164, allocations: 163.6 kB / 350.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003374/0.01978, allocations: 2.598 MB / 352.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.02107, allocations: 0.8631 MB / 353.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.02306, allocations: 1.422 MB / 355.2 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.02505, allocations: 1.336 MB / 356.6 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003789/0.02543, allocations: 244 kB / 356.8 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.0269, allocations: 0.823 MB / 357.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.02824, allocations: 1.281 MB / 358.9 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.02935, allocations: 0.8447 MB / 359.8 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006378/0.03572, allocations: 5.085 MB / 364.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.03573, allocations: 0 / 364.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.03573, allocations: 0 / 364.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.619e-05/0.0358, allocations: 0 / 364.8 MB, free: 15.74 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.01066/0.04647, allocations: 4.327 MB / 369.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.04651, allocations: 8.625 kB / 369.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008039/0.05455, allocations: 2.3 MB / 371.5 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.05737, allocations: 1.322 MB / 372.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.05753, allocations: 156.1 kB / 372.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004688/0.058, allocations: 200.2 kB / 373.1 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.07184, allocations: 8.198 MB / 381.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.531e-05/0.07191, allocations: 20 kB / 381.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003259/0.07223, allocations: 99.8 kB / 381.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003594/0.07583, allocations: 1.911 MB / 383.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/0.09082, allocations: 7.403 MB / 390.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1534/0.2442, allocations: 22.69 MB / 413.5 MB, free: 61.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005102/0.2493, allocations: 2.007 MB / 415.5 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.2506, allocations: 0.8159 MB / 416.3 MB, free: 61.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004925/0.2556, allocations: 2.602 MB / 418.9 MB, free: 61.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2556, allocations: 46.91 kB / 418.9 MB, free: 61.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=135): time 3.246e-06/0.2556, allocations: 5.375 kB / 418.9 MB, free: 61.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=149): time 0.009425/0.265, allocations: 4.906 MB / 423.8 MB, free: 60.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.2651, allocations: 68.59 kB / 423.9 MB, free: 60.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.2672, allocations: 2.127 MB / 426 MB, free: 59.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.2673, allocations: 45.02 kB / 426.1 MB, free: 59.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/0.268, allocations: 2.172 MB / 428.3 MB, free: 57.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.2683, allocations: 0.5701 MB / 428.8 MB, free: 57.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007395/0.269, allocations: 0.7636 MB / 429.6 MB, free: 57.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.2691, allocations: 347.8 kB / 429.9 MB, free: 56.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.2707, allocations: 1.244 MB / 431.2 MB, free: 56.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.273, allocations: 3.313 MB / 434.5 MB, free: 53.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003992/0.277, allocations: 4.924 MB / 439.4 MB, free: 47.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.102e-05/0.277, allocations: 20 kB / 439.4 MB, free: 47.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=491) (initialization): time 0.00621/0.2832, allocations: 4.824 MB / 444.3 MB, free: 42.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.2833, allocations: 36 kB / 444.3 MB, free: 42.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/0.2833, allocations: 72.91 kB / 444.4 MB, free: 42.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.2839, allocations: 249.3 kB / 444.6 MB, free: 42.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/0.2861, allocations: 0.8344 MB / 445.4 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.2885, allocations: 2.712 MB / 448.1 MB, free: 38.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.2908, allocations: 198.8 kB / 448.3 MB, free: 38.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/0.291, allocations: 220 kB / 448.6 MB, free: 38.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.001749/0.2928, allocations: 1.588 MB / 450.1 MB, free: 36.97 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.2931, allocations: 226.7 kB / 450.4 MB, free: 36.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.2959, allocations: 1.941 MB / 452.3 MB, free: 34.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.946e-05/0.296, allocations: 23.98 kB / 452.3 MB, free: 34.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.296, allocations: 4 kB / 452.3 MB, free: 34.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.2961, allocations: 7.969 kB / 452.3 MB, free: 34.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007502/0.3036, allocations: 4.939 MB / 457.3 MB, free: 29.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.3036, allocations: 8.094 kB / 457.3 MB, free: 29.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008513/0.3044, allocations: 223.7 kB / 457.5 MB, free: 29.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003855/0.3048, allocations: 152.6 kB / 457.7 MB, free: 29.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.3049, allocations: 31.98 kB / 457.7 MB, free: 29.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.3068, allocations: 2.393 MB / 460.1 MB, free: 26.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3068, allocations: 7.938 kB / 460.1 MB, free: 26.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.3107, allocations: 3.163 MB / 463.3 MB, free: 23.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.3111, allocations: 178.8 kB / 463.4 MB, free: 23.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.3113, allocations: 27.98 kB / 463.5 MB, free: 23.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.312, allocations: 67.92 kB / 463.5 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.3122, allocations: 100.7 kB / 463.6 MB, free: 23.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-05/0.3123, allocations: 50.41 kB / 463.7 MB, free: 23.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00143/0.3138, allocations: 1.233 MB / 464.9 MB, free: 21.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3138, allocations: 0 / 464.9 MB, free: 21.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002599/0.3164, allocations: 0.6445 MB / 465.5 MB, free: 21.31 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.0003069/0.3167, allocations: 165.5 kB / 465.7 MB, free: 21.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.3207, allocations: 2.956 MB / 468.7 MB, free: 18.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3207, allocations: 0 / 468.7 MB, free: 18.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.3219, allocations: 0.978 MB / 469.6 MB, free: 17.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.3233, allocations: 304.7 kB / 469.9 MB, free: 16.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008522/0.3319, allocations: 6.555 MB / 476.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.3339, allocations: 2.051 MB / 478.5 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002191/0.336, allocations: 1.098 MB / 479.6 MB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.3364, allocations: 144.5 kB / 479.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3364, allocations: 0 / 479.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of Templates: time 0.0375/0.3739, allocations: 19.73 MB / 499.5 MB, free: 3.5 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.183588332030922]