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.0007631/0.0007631, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0008847/0.0008847, allocations: 177 kB / 23.36 MB, free: 1.129 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.9795/0.9795, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.03011/0.03011, allocations: 7.188 MB / 267.4 MB, free: 5.941 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.182e-06/1.182e-06, allocations: 0 / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/1.995e-05, allocations: 5.547 kB / 286.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.1544/0.1544, allocations: 8.242 MB / 294.3 MB, free: 17.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005153/0.1595, allocations: 2.716 MB / 297 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.1603, allocations: 40.47 kB / 297.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007422/0.1611, allocations: 381 kB / 297.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.1637, allocations: 1.493 MB / 298.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1641, allocations: 153 kB / 299.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002722/0.1668, allocations: 2.608 MB / 301.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.1679, allocations: 0.8907 MB / 302.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.1695, allocations: 1.42 MB / 304 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.1709, allocations: 1.296 MB / 305.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004291/0.1713, allocations: 241 kB / 305.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1724, allocations: 0.8356 MB / 306.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005978/0.173, allocations: 1.288 MB / 307.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006943/0.1737, allocations: 0.8509 MB / 308.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.1758, allocations: 3.356 MB / 311.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1758, allocations: 0 / 311.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1758, allocations: 0 / 311.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.527e-05/0.1758, allocations: 0.5938 kB / 311.9 MB, free: 6.188 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.003332/0.1792, allocations: 3.591 MB / 315.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1792, allocations: 12.62 kB / 315.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.1818, allocations: 1.023 MB / 316.5 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.1832, allocations: 1.014 MB / 317.5 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.613e-05/0.1833, allocations: 156.1 kB / 317.7 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/0.1837, allocations: 196.2 kB / 317.9 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/0.1877, allocations: 3.469 MB / 321.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.598e-05/0.1877, allocations: 23.98 kB / 321.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.1879, allocations: 95.8 kB / 321.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001481/0.1894, allocations: 1.729 MB / 323.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.1926, allocations: 1.987 MB / 325.2 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.2065, allocations: 18.41 MB / 343.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.2085, allocations: 1.051 MB / 344.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.2088, allocations: 231.8 kB / 344.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002211/0.211, allocations: 2.064 MB / 346.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.2111, allocations: 47.55 kB / 347 MB, free: 2.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=135): time 2.425e-06/0.2111, allocations: 0 / 347 MB, free: 2.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=149): time 0.004185/0.2153, allocations: 2.361 MB / 349.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.2153, allocations: 64.41 kB / 349.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009786/0.2163, allocations: 1.534 MB / 350.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.2163, allocations: 45.7 kB / 351 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008394/0.2172, allocations: 2.115 MB / 353.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.2174, allocations: 0.5657 MB / 353.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005666/0.218, allocations: 0.7192 MB / 354.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.2181, allocations: 349.8 kB / 354.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.2186, allocations: 388.7 kB / 355.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.2201, allocations: 2.378 MB / 357.5 MB, free: 6.512 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.2221, allocations: 3.279 MB / 360.7 MB, free: 2.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.2222, allocations: 24 kB / 360.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.002695/0.2249, allocations: 2.496 MB / 363.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.2249, allocations: 37.72 kB / 363.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/0.2249, allocations: 75.83 kB / 363.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.2252, allocations: 192.4 kB / 363.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.2266, allocations: 0.8383 MB / 364.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.228, allocations: 2.024 MB / 366.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009159/0.2289, allocations: 152 kB / 366.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.2291, allocations: 188 kB / 366.8 MB, free: 12.04 MB / 330.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.0005822/0.2296, allocations: 423.5 kB / 367.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.2298, allocations: 131.9 kB / 367.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008763/0.2307, allocations: 0.7379 MB / 368 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.95e-05/0.2307, allocations: 16 kB / 368 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2307, allocations: 8 kB / 368.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2307, allocations: 7.969 kB / 368.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.2342, allocations: 2.747 MB / 370.8 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2342, allocations: 8 kB / 370.8 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.2347, allocations: 203.7 kB / 371 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.235, allocations: 166.1 kB / 371.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.235, allocations: 28 kB / 371.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.2361, allocations: 1.769 MB / 373 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2361, allocations: 11.97 kB / 373 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2372, allocations: 1.168 MB / 374.2 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2374, allocations: 162.8 kB / 374.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.2375, allocations: 40.02 kB / 374.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.2378, allocations: 27.98 kB / 374.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.2379, allocations: 92.72 kB / 374.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.238, allocations: 39.98 kB / 374.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004719/0.2384, allocations: 0.6025 MB / 375.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2384, allocations: 0 / 375.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001683/0.2401, allocations: 0.6444 MB / 375.8 MB, free: 2.699 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.0002122/0.2403, allocations: 144.1 kB / 375.9 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.2419, allocations: 1.607 MB / 377.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.882e-05/0.242, allocations: 52.06 kB / 377.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.2424, allocations: 479.5 kB / 378 MB, free: 408 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.2432, allocations: 304.2 kB / 378.3 MB, free: 120 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/0.2493, allocations: 5.556 MB / 383.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.2501, allocations: 0.9051 MB / 384.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006512/0.2507, allocations: 292.8 kB / 385.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.2512, allocations: 353.2 kB / 385.4 MB, free: 8.875 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2512, allocations: 0 / 385.4 MB, free: 8.875 MB / 346.7 MB Notification: Performance of Templates: time 0.02966/0.2809, allocations: 21.06 MB / 406.5 MB, free: 4.129 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1030836147256196]