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.0009568/0.0009568, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002623, 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.001358/0.001358, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002784, 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.056/1.056, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1085/1.165, 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.04075/0.04075, allocations: 7.179 MB / 251.1 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01754/0.05829, allocations: 2.561 MB / 253.7 MB, free: 5.305 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.883e-06/1.883e-06, allocations: 0 / 255 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.595e-05, allocations: 2.312 kB / 255 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.01715/0.01717, allocations: 8.295 MB / 263.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007434/0.02461, allocations: 2.72 MB / 266 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.02644, allocations: 43.88 kB / 266 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.02764, allocations: 405.4 kB / 266.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.03231, allocations: 1.474 MB / 267.9 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.03285, allocations: 147.7 kB / 268 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003763/0.03661, allocations: 2.622 MB / 270.6 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.03828, allocations: 0.8806 MB / 271.5 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.04142, allocations: 1.49 MB / 273 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.04314, allocations: 1.286 MB / 274.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.04349, allocations: 240 kB / 274.5 MB, free: 372 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1402/0.1836, allocations: 0.8318 MB / 275.4 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.1853, allocations: 1.152 MB / 276.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.1872, allocations: 0.703 MB / 277.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004606/0.1918, allocations: 3.13 MB / 280.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.736e-05/0.1918, allocations: 1.375 kB / 280.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1918, allocations: 0 / 280.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001406/0.1919, allocations: 3.5 kB / 280.4 MB, free: 4.465 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: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.007415/0.1993, allocations: 4.238 MB / 284.6 MB, free: 2.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1994, allocations: 11.23 kB / 284.6 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.2025, allocations: 1.027 MB / 285.6 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.2039, allocations: 1.011 MB / 286.6 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-05/0.204, allocations: 153.9 kB / 286.8 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.2043, allocations: 196.6 kB / 287 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004146/0.2084, allocations: 3.478 MB / 290.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.246e-05/0.2085, allocations: 15.69 kB / 290.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.2087, allocations: 99.67 kB / 290.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001431/0.2101, allocations: 1.741 MB / 292.3 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/0.2139, allocations: 2.004 MB / 294.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01604/0.2299, allocations: 18.39 MB / 312.7 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.2322, allocations: 1.014 MB / 313.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.2325, allocations: 240 kB / 314 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002573/0.2351, allocations: 2.054 MB / 316 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.2351, allocations: 47.31 kB / 316.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=135): time 2.735e-06/0.2351, allocations: 5.969 kB / 316.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=149): time 0.004411/0.2396, allocations: 2.314 MB / 318.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2396, allocations: 66.5 kB / 318.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.2408, allocations: 1.541 MB / 320 MB, free: 9.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.2409, allocations: 41.7 kB / 320 MB, free: 9.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009104/0.2418, allocations: 2.11 MB / 322.1 MB, free: 7.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.2421, allocations: 0.5661 MB / 322.7 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006242/0.2427, allocations: 0.7216 MB / 323.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2428, allocations: 356.6 kB / 323.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.2433, allocations: 389.1 kB / 324.2 MB, free: 5.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.2447, allocations: 2.379 MB / 326.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.2471, allocations: 3.276 MB / 329.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/0.2471, allocations: 20 kB / 329.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.002613/0.2498, allocations: 2.493 MB / 332.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.2498, allocations: 39.94 kB / 332.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-05/0.2499, allocations: 72 kB / 332.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000351/0.2502, allocations: 185 kB / 332.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.2517, allocations: 0.9008 MB / 333.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.2532, allocations: 2.037 MB / 335.5 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.2545, allocations: 147.9 kB / 335.7 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.2548, allocations: 195.2 kB / 335.9 MB, free: 7.887 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * 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 (454): * Single equations (assignments): 449 * 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.001342/0.2561, allocations: 418.1 kB / 336.3 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.2564, allocations: 138.9 kB / 336.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.2574, allocations: 0.737 MB / 337.2 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.751e-05/0.2575, allocations: 20 kB / 337.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2575, allocations: 4 kB / 337.2 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.2575, allocations: 7.984 kB / 337.2 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.2614, allocations: 2.741 MB / 339.9 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.2614, allocations: 4 kB / 339.9 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.2619, allocations: 219.7 kB / 340.2 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.2621, allocations: 158.8 kB / 340.3 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/0.2624, allocations: 169.2 kB / 340.5 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.2625, allocations: 28 kB / 340.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.2637, allocations: 1.776 MB / 342.3 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.2637, allocations: 4 kB / 342.3 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.2649, allocations: 1.173 MB / 343.5 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.265, allocations: 32.06 kB / 343.5 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.2654, allocations: 35.98 kB / 343.5 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.2655, allocations: 96.7 kB / 343.6 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.2656, allocations: 36 kB / 343.7 MB, free: 72 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005914/0.2662, allocations: 0.5938 MB / 344.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2662, allocations: 0 / 344.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002141/0.2683, allocations: 0.6474 MB / 344.9 MB, free: 14.91 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.0002907/0.2686, allocations: 140.1 kB / 345 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.2705, allocations: 1.619 MB / 346.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001091/0.2706, allocations: 59.92 kB / 346.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.2711, allocations: 474.4 kB / 347.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/0.272, allocations: 447.3 kB / 347.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009313/0.2813, allocations: 5.7 MB / 353.3 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000845/0.2822, allocations: 0.9053 MB / 354.2 MB, free: 5.516 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008079/0.283, allocations: 287.3 kB / 354.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.2835, allocations: 354.9 kB / 354.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.2835, allocations: 0 / 354.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of Templates: time 0.03363/0.3171, allocations: 21.43 MB / 376.3 MB, free: 15.8 MB / 362.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: 3.5031266072764993]