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.0009525/0.0009525, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009391/0.0009391, allocations: 173 kB / 23.49 MB, free: 1.055 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.9717/0.9717, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.03638/0.03638, allocations: 7.187 MB / 267.5 MB, free: 6.133 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.222e-06/1.222e-06, allocations: 0 / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.57e-05, allocations: 2.312 kB / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.00501/0.005026, allocations: 8.341 MB / 347.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.007616, allocations: 2.616 MB / 349.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.007982, allocations: 39.88 kB / 349.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.008564, allocations: 389.4 kB / 350.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.01019, allocations: 1.474 MB / 351.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.0104, allocations: 167.6 kB / 351.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.01212, allocations: 2.583 MB / 354.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006396/0.01276, allocations: 0.8787 MB / 355.3 MB, free: 9.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009774/0.01373, allocations: 1.422 MB / 356.8 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009918/0.01472, allocations: 1.34 MB / 358.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.01492, allocations: 244 kB / 358.3 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.01564, allocations: 0.8345 MB / 359.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006691/0.01631, allocations: 1.289 MB / 360.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.01687, allocations: 0.8447 MB / 361.3 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.01922, allocations: 3.346 MB / 364.7 MB, free: 0.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01923, allocations: 3.938 kB / 364.7 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01923, allocations: 0 / 364.7 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.01925, allocations: 0 / 364.7 MB, free: 0.6211 MB / 282.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.00558/0.02483, allocations: 4.62 MB / 369.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.02486, allocations: 8.625 kB / 369.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/0.02908, allocations: 2.226 MB / 371.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.03042, allocations: 1.266 MB / 372.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.134e-05/0.03051, allocations: 152.1 kB / 372.9 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/0.03077, allocations: 200.2 kB / 373.1 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/0.03543, allocations: 4.104 MB / 377.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.03547, allocations: 27.98 kB / 377.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.03568, allocations: 95.8 kB / 377.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001767/0.03745, allocations: 1.915 MB / 379.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004773/0.04222, allocations: 2.438 MB / 381.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.06027, allocations: 25.43 MB / 407.1 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.06282, allocations: 1.09 MB / 408.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.06328, allocations: 315.7 kB / 408.5 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002704/0.06598, allocations: 2.334 MB / 410.9 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.06602, allocations: 46.39 kB / 410.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=135): time 3.307e-06/0.06602, allocations: 0 / 410.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=149): time 0.1296/0.1956, allocations: 3.076 MB / 414 MB, free: 76.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1956, allocations: 69.09 kB / 414.1 MB, free: 76.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.1978, allocations: 1.888 MB / 415.9 MB, free: 76.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.1978, allocations: 47.48 kB / 416 MB, free: 76.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.1989, allocations: 2.273 MB / 418.3 MB, free: 74.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.1992, allocations: 0.5913 MB / 418.8 MB, free: 74.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009233/0.2001, allocations: 0.817 MB / 419.7 MB, free: 74.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2002, allocations: 0.5217 MB / 420.2 MB, free: 73.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009304/0.2012, allocations: 403.5 kB / 420.6 MB, free: 73.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.203, allocations: 3.443 MB / 424 MB, free: 69.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/0.2063, allocations: 4.239 MB / 428.3 MB, free: 65.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.842e-05/0.2064, allocations: 19.41 kB / 428.3 MB, free: 65.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=491) (initialization): time 0.006835/0.2132, allocations: 3.115 MB / 431.4 MB, free: 64.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.2133, allocations: 38.73 kB / 431.4 MB, free: 64.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.206e-05/0.2134, allocations: 69.72 kB / 431.5 MB, free: 64.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.214, allocations: 202.2 kB / 431.7 MB, free: 64.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.2165, allocations: 0.833 MB / 432.5 MB, free: 63.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.2188, allocations: 2.7 MB / 435.2 MB, free: 61.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/0.2222, allocations: 179.9 kB / 435.4 MB, free: 61.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005118/0.2227, allocations: 228 kB / 435.6 MB, free: 61.04 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.001415/0.2242, allocations: 463.1 kB / 436.1 MB, free: 60.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/0.2246, allocations: 230.7 kB / 436.3 MB, free: 60.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.2267, allocations: 0.9571 MB / 437.3 MB, free: 59.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.5e-05/0.2268, allocations: 27.12 kB / 437.3 MB, free: 59.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2268, allocations: 8 kB / 437.3 MB, free: 59.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.2268, allocations: 3.656 kB / 437.3 MB, free: 59.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007944/0.2348, allocations: 3.973 MB / 441.3 MB, free: 55.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.2348, allocations: 4 kB / 441.3 MB, free: 55.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.2356, allocations: 220 kB / 441.5 MB, free: 55.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003327/0.2359, allocations: 93.11 kB / 441.6 MB, free: 55.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.831e-05/0.236, allocations: 39.88 kB / 441.6 MB, free: 55.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.2376, allocations: 2.414 MB / 444 MB, free: 53.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.2376, allocations: 11.97 kB / 444.1 MB, free: 53.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.2401, allocations: 1.518 MB / 445.6 MB, free: 51.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/0.2405, allocations: 174 kB / 445.7 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.2407, allocations: 31.97 kB / 445.8 MB, free: 51.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.2413, allocations: 66.22 kB / 445.8 MB, free: 51.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.2415, allocations: 103.3 kB / 445.9 MB, free: 51.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.2416, allocations: 47.61 kB / 446 MB, free: 51.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.2428, allocations: 0.8387 MB / 446.8 MB, free: 50.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2428, allocations: 0 / 446.8 MB, free: 50.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003508/0.2463, allocations: 0.6423 MB / 447.5 MB, free: 49.94 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.0003357/0.2467, allocations: 161.7 kB / 447.6 MB, free: 49.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003551/0.2502, allocations: 1.877 MB / 449.5 MB, free: 47.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2502, allocations: 4.5 kB / 449.5 MB, free: 47.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008362/0.2511, allocations: 0.6076 MB / 450.1 MB, free: 47.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.2524, allocations: 300.6 kB / 450.4 MB, free: 46.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/0.2611, allocations: 5.459 MB / 455.9 MB, free: 41.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009753/0.2621, allocations: 0.9169 MB / 456.8 MB, free: 40.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002187/0.2643, allocations: 0.9456 MB / 457.7 MB, free: 39.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.2647, allocations: 152.5 kB / 457.9 MB, free: 39.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2647, allocations: 0 / 457.9 MB, free: 39.36 MB / 330.7 MB Notification: Performance of Templates: time 0.03552/0.3002, allocations: 19.67 MB / 477.5 MB, free: 19.99 MB / 330.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.4521564100869]