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.0006854/0.0006854, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008877/0.001573, allocations: 440 kB / 10.41 MB, free: 284 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.0006709/0.0006709, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008705/0.001541, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9654/0.9654, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0812/1.047, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.03182/0.03182, allocations: 7.189 MB / 251.3 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004345/0.03616, allocations: 2.557 MB / 253.9 MB, free: 5.191 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.323e-06/1.323e-06, allocations: 0 / 255.2 MB, free: 3.906 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.257e-06/1.058e-05, allocations: 2.312 kB / 255.2 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.006255/0.006266, allocations: 8.311 MB / 263.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003619/0.009885, allocations: 2.72 MB / 266.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.01025, allocations: 35.94 kB / 266.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.01075, allocations: 413.3 kB / 266.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.01228, allocations: 1.466 MB / 268.1 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.01248, allocations: 147.7 kB / 268.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.014, allocations: 2.611 MB / 270.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.01461, allocations: 0.8807 MB / 271.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.0159, allocations: 1.497 MB / 273.2 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009723/0.01687, allocations: 1.282 MB / 274.5 MB, free: 460 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.01708, allocations: 240 kB / 274.8 MB, free: 220 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1214/0.1385, allocations: 0.8346 MB / 275.6 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.1399, allocations: 1.148 MB / 276.7 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.1414, allocations: 0.701 MB / 277.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.146, allocations: 3.129 MB / 280.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.146, allocations: 1.625 kB / 280.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.146, allocations: 0 / 280.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001695/0.1462, allocations: 0 / 280.6 MB, free: 4.449 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.008374/0.1546, allocations: 4.239 MB / 284.8 MB, free: 2.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1546, allocations: 10.33 kB / 284.8 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.1577, allocations: 1.026 MB / 285.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.1593, allocations: 1.019 MB / 286.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.242e-05/0.1594, allocations: 150.8 kB / 287 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/0.1596, allocations: 199.1 kB / 287.2 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.1639, allocations: 3.471 MB / 290.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-05/0.1639, allocations: 16.53 kB / 290.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.1641, allocations: 94.19 kB / 290.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.1656, allocations: 1.642 MB / 292.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003795/0.1694, allocations: 2.004 MB / 294.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.1867, allocations: 18.39 MB / 312.8 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.1889, allocations: 1.019 MB / 313.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.1892, allocations: 239.1 kB / 314.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002721/0.1919, allocations: 2.054 MB / 316.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.192, allocations: 44.75 kB / 316.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=135): time 3.937e-06/0.192, allocations: 0 / 316.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=149): time 0.004975/0.197, allocations: 2.576 MB / 318.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.197, allocations: 65.47 kB / 318.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.1983, allocations: 1.54 MB / 320.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.1983, allocations: 51.2 kB / 320.4 MB, free: 8.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008637/0.1992, allocations: 2.104 MB / 322.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.1995, allocations: 0.5637 MB / 323.1 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006171/0.2001, allocations: 0.7199 MB / 323.8 MB, free: 5.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.2002, allocations: 353.9 kB / 324.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/0.2007, allocations: 399.6 kB / 324.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.202, allocations: 2.375 MB / 326.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.2045, allocations: 3.517 MB / 330.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.071e-05/0.2046, allocations: 20 kB / 330.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.002692/0.2073, allocations: 2.492 MB / 332.9 MB, free: 10.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.2073, allocations: 39.94 kB / 333 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.948e-05/0.2074, allocations: 83.19 kB / 333 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.2077, allocations: 193.2 kB / 333.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.2092, allocations: 0.8969 MB / 334.1 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.2106, allocations: 2.03 MB / 336.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.2119, allocations: 152 kB / 336.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.2121, allocations: 192 kB / 336.5 MB, free: 7.27 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.001115/0.2132, allocations: 414.9 kB / 336.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.2134, allocations: 131.9 kB / 337 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009375/0.2143, allocations: 0.7404 MB / 337.8 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/0.2144, allocations: 12 kB / 337.8 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2144, allocations: 4 kB / 337.8 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.2144, allocations: 3.984 kB / 337.8 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.2183, allocations: 2.753 MB / 340.5 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.2183, allocations: 12.12 kB / 340.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.2188, allocations: 215.7 kB / 340.8 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.219, allocations: 165.2 kB / 340.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.2194, allocations: 168 kB / 341.1 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/0.2194, allocations: 31.98 kB / 341.1 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.2205, allocations: 1.767 MB / 342.9 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.2205, allocations: 7.938 kB / 342.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.2218, allocations: 1.179 MB / 344.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.222, allocations: 34.91 kB / 344.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.2225, allocations: 27.94 kB / 344.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.2227, allocations: 100.7 kB / 344.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/0.2228, allocations: 39.98 kB / 344.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007428/0.2235, allocations: 0.6027 MB / 344.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2235, allocations: 3.938 kB / 344.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0025/0.226, allocations: 0.6406 MB / 345.5 MB, free: 14.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.0003471/0.2264, allocations: 147.1 kB / 345.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.2286, allocations: 1.662 MB / 347.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001319/0.2288, allocations: 67.84 kB / 347.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.2296, allocations: 0.5412 MB / 347.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.2314, allocations: 1.859 MB / 349.8 MB, free: 9.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.2433, allocations: 5.704 MB / 355.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009775/0.2443, allocations: 0.8975 MB / 356.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008967/0.2451, allocations: 282.5 kB / 356.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005676/0.2457, allocations: 353.2 kB / 357 MB, free: 2.461 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2457, allocations: 0 / 357 MB, free: 2.461 MB / 330.7 MB Notification: Performance of Templates: time 0.03565/0.2814, allocations: 18.89 MB / 375.9 MB, free: 15.75 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: 2.869322150014341]