Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.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.000927/0.000927, allocations: 92.22 kB / 19.65 MB, free: 276 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.001586/0.001586, allocations: 173 kB / 23.02 MB, free: 1.547 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.9164/0.9164, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.03079/0.03079, allocations: 7.185 MB / 267.1 MB, free: 6.051 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.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") translateModel(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.948e-05, allocations: 2.312 kB / 338.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.01243/0.01245, allocations: 8.246 MB / 347.1 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00674/0.01919, allocations: 2.62 MB / 349.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003574/0.02276, allocations: 43.88 kB / 349.8 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007343/0.0235, allocations: 381.4 kB / 350.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.02881, allocations: 1.524 MB / 351.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.02908, allocations: 143.5 kB / 351.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.03135, allocations: 2.607 MB / 354.4 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003907/0.03526, allocations: 0.8008 MB / 355.2 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.03656, allocations: 1.403 MB / 356.6 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.03788, allocations: 1.332 MB / 357.9 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.03813, allocations: 236 kB / 358.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.03936, allocations: 0.8113 MB / 359 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006426/0.04, allocations: 1.293 MB / 360.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.04054, allocations: 0.8408 MB / 361.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.04281, allocations: 3.331 MB / 364.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.04281, allocations: 0 / 364.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04281, allocations: 0 / 364.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.235e-05/0.04285, allocations: 0 / 364.5 MB, free: 0.4961 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: 1187 * Number of variables: 1187 Notification: Performance of Generate backend data structure: time 0.005786/0.04863, allocations: 4.699 MB / 369.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.04867, allocations: 12.62 kB / 369.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/0.05229, allocations: 2.206 MB / 371.4 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.05355, allocations: 1.309 MB / 372.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.05377, allocations: 152.1 kB / 372.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.054, allocations: 196.2 kB / 373 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/0.05866, allocations: 4.268 MB / 377.3 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.0587, allocations: 23.77 kB / 377.3 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.05889, allocations: 95.86 kB / 377.4 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001727/0.06061, allocations: 1.903 MB / 379.3 MB, free: 1.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004437/0.06505, allocations: 2.487 MB / 381.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/0.08213, allocations: 26.53 MB / 408.3 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.08501, allocations: 1.294 MB / 409.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.08547, allocations: 369.7 kB / 410 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1204/0.2059, allocations: 2.576 MB / 412.5 MB, free: 64.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.206, allocations: 49.33 kB / 412.6 MB, free: 64.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=153): time 4.148e-06/0.206, allocations: 1.219 kB / 412.6 MB, free: 64.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.006087/0.212, allocations: 3.764 MB / 416.4 MB, free: 63.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2121, allocations: 68.25 kB / 416.4 MB, free: 63.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.2137, allocations: 1.974 MB / 418.4 MB, free: 63.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.2138, allocations: 53.02 kB / 418.5 MB, free: 63.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008988/0.2147, allocations: 2.308 MB / 420.8 MB, free: 61.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/0.2151, allocations: 0.7067 MB / 421.5 MB, free: 61.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007686/0.2159, allocations: 0.9 MB / 422.4 MB, free: 61.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.216, allocations: 0.5201 MB / 422.9 MB, free: 60.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/0.2168, allocations: 457.4 kB / 423.3 MB, free: 60.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.2184, allocations: 3.803 MB / 427.1 MB, free: 56.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.2211, allocations: 4.701 MB / 431.8 MB, free: 52.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.587e-05/0.2211, allocations: 23.78 kB / 431.9 MB, free: 52.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=555) (initialization): time 0.003666/0.2248, allocations: 3.55 MB / 435.4 MB, free: 51.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.2248, allocations: 39.03 kB / 435.5 MB, free: 51.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-05/0.2249, allocations: 81.28 kB / 435.5 MB, free: 51.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/0.2254, allocations: 293.3 kB / 435.8 MB, free: 51.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.2268, allocations: 0.933 MB / 436.8 MB, free: 51.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.229, allocations: 3.323 MB / 440.1 MB, free: 48.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.2303, allocations: 202.7 kB / 440.3 MB, free: 48.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.2305, allocations: 255.5 kB / 440.5 MB, free: 48.28 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 360 * Number of states: 0 () * Number of discrete variables: 18 (revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (508): * Single equations (assignments): 503 * 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 {(2,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006908/0.2311, allocations: 488.3 kB / 441 MB, free: 47.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.2313, allocations: 261.4 kB / 441.3 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2326, allocations: 1.207 MB / 442.5 MB, free: 46.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.835e-05/0.2327, allocations: 30.7 kB / 442.5 MB, free: 46.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2327, allocations: 7.938 kB / 442.5 MB, free: 46.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.2327, allocations: 7.734 kB / 442.5 MB, free: 46.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004379/0.2371, allocations: 4.316 MB / 446.8 MB, free: 42.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2371, allocations: 5.422 kB / 446.8 MB, free: 42.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.2375, allocations: 253.3 kB / 447.1 MB, free: 42.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.2378, allocations: 178.2 kB / 447.2 MB, free: 42.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.2379, allocations: 39.75 kB / 447.3 MB, free: 42.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.2393, allocations: 2.617 MB / 449.9 MB, free: 39.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2393, allocations: 11.94 kB / 449.9 MB, free: 39.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.2409, allocations: 1.833 MB / 451.8 MB, free: 37.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.2411, allocations: 189.9 kB / 451.9 MB, free: 37.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.2412, allocations: 39.64 kB / 452 MB, free: 37.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.2415, allocations: 81.08 kB / 452.1 MB, free: 37.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.2417, allocations: 116 kB / 452.2 MB, free: 37.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.2417, allocations: 55.98 kB / 452.2 MB, free: 37.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006683/0.2424, allocations: 0.8709 MB / 453.1 MB, free: 36.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2424, allocations: 1.531 kB / 453.1 MB, free: 36.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001601/0.244, allocations: 0.7139 MB / 453.8 MB, free: 36.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.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 (137): * Single equations (assignments): 132 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002225/0.2442, allocations: 168 kB / 454 MB, free: 35.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.2462, allocations: 2.186 MB / 456.2 MB, free: 33.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2462, allocations: 0 / 456.2 MB, free: 33.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.2468, allocations: 0.7425 MB / 456.9 MB, free: 32.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.2475, allocations: 301 kB / 457.2 MB, free: 32.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.2526, allocations: 5.67 MB / 462.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.2531, allocations: 0.9419 MB / 463.8 MB, free: 25.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001195/0.2543, allocations: 1.051 MB / 464.9 MB, free: 24.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.2545, allocations: 164.5 kB / 465 MB, free: 24.74 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2545, allocations: 0 / 465 MB, free: 24.74 MB / 330.7 MB Notification: Performance of Templates: time 0.02468/0.2792, allocations: 21.25 MB / 486.3 MB, free: 3.852 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.DoublePendulum -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3251089439727366]