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.001023/0.001023, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002332, 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.001014/0.001014, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008805/0.001895, 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1063/1.138, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.03009/0.03009, allocations: 7.178 MB / 251.1 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005174/0.03526, allocations: 2.553 MB / 253.7 MB, free: 5.297 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.302e-06/1.302e-06, allocations: 0 / 255 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.655e-05, allocations: 2.312 kB / 255 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.008278/0.008295, allocations: 8.177 MB / 263.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005236/0.01353, allocations: 2.709 MB / 265.8 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007104/0.01424, allocations: 39.88 kB / 265.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006432/0.01488, allocations: 417.3 kB / 266.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.01719, allocations: 1.501 MB / 267.8 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.01745, allocations: 123.8 kB / 267.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.01984, allocations: 2.626 MB / 270.5 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.02056, allocations: 0.8144 MB / 271.4 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.02175, allocations: 1.47 MB / 272.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.02297, allocations: 1.266 MB / 274.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.02324, allocations: 236 kB / 274.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1479/0.1711, allocations: 0.8214 MB / 275.1 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.1727, allocations: 1.158 MB / 276.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.1744, allocations: 0.6954 MB / 277 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004512/0.1789, allocations: 3.107 MB / 280.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.722e-05/0.1789, allocations: 0 / 280.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1789, allocations: 0 / 280.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001764/0.1791, allocations: 4.562 kB / 280.1 MB, free: 4.574 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: 1187 * Number of variables: 1187 Notification: Performance of Generate backend data structure: time 0.009035/0.1881, allocations: 4.288 MB / 284.4 MB, free: 3.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1882, allocations: 11.67 kB / 284.4 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.1914, allocations: 1.005 MB / 285.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.1934, allocations: 1.002 MB / 286.4 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.493e-05/0.1934, allocations: 154.6 kB / 286.6 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.1937, allocations: 198.5 kB / 286.8 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00477/0.1985, allocations: 3.588 MB / 290.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.976e-05/0.1986, allocations: 25.95 kB / 290.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.1988, allocations: 104.8 kB / 290.5 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001755/0.2006, allocations: 1.723 MB / 292.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003983/0.2045, allocations: 2.038 MB / 294.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.2217, allocations: 19.06 MB / 313.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.2244, allocations: 1.198 MB / 314.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.2248, allocations: 277.3 kB / 314.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003374/0.2281, allocations: 2.296 MB / 317.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.2282, allocations: 49.06 kB / 317.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=153): time 2.925e-06/0.2282, allocations: 0 / 317.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=181): time 0.005879/0.2341, allocations: 2.888 MB / 320 MB, free: 9.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.2341, allocations: 69.25 kB / 320.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.2354, allocations: 1.61 MB / 321.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/0.2355, allocations: 55.02 kB / 321.7 MB, free: 7.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.2366, allocations: 2.142 MB / 323.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007366/0.2373, allocations: 0.675 MB / 324.5 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006512/0.2379, allocations: 0.805 MB / 325.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.238, allocations: 344.3 kB / 325.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009201/0.239, allocations: 438.4 kB / 326.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.2406, allocations: 2.619 MB / 328.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.244, allocations: 3.617 MB / 332.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.431e-05/0.244, allocations: 24 kB / 332.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=555) (initialization): time 0.003271/0.2473, allocations: 2.82 MB / 335.2 MB, free: 8.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.2473, allocations: 43.98 kB / 335.2 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-05/0.2474, allocations: 79.94 kB / 335.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.2478, allocations: 271.4 kB / 335.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.2495, allocations: 1.006 MB / 336.6 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.2518, allocations: 2.518 MB / 339.1 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.2531, allocations: 164 kB / 339.3 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.2533, allocations: 212 kB / 339.5 MB, free: 4.18 MB / 314.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.001305/0.2546, allocations: 445.2 kB / 339.9 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.2548, allocations: 159.8 kB / 340.1 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.2559, allocations: 0.9168 MB / 341 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/0.256, allocations: 28.59 kB / 341 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.256, allocations: 4 kB / 341 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.256, allocations: 7.969 kB / 341 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/0.2599, allocations: 3.03 MB / 344.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.2599, allocations: 4 kB / 344.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.2607, allocations: 259.7 kB / 344.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.2609, allocations: 177.4 kB / 344.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.2613, allocations: 238.5 kB / 344.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.2613, allocations: 38.88 kB / 344.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.2627, allocations: 1.886 MB / 346.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2627, allocations: 4 kB / 346.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.2641, allocations: 1.414 MB / 348.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.2643, allocations: 32 kB / 348.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.2646, allocations: 36 kB / 348.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.2647, allocations: 117 kB / 348.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/0.2648, allocations: 44 kB / 348.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005484/0.2654, allocations: 0.627 MB / 348.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2654, allocations: 0 / 348.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002017/0.2674, allocations: 0.7092 MB / 349.6 MB, free: 10.1 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.0002915/0.2677, allocations: 155.7 kB / 349.8 MB, free: 9.945 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.2696, allocations: 1.861 MB / 351.6 MB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001153/0.2697, allocations: 64.28 kB / 351.7 MB, free: 8.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000532/0.2703, allocations: 0.5968 MB / 352.3 MB, free: 7.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008587/0.2711, allocations: 440.3 kB / 352.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009169/0.2803, allocations: 5.835 MB / 358.6 MB, free: 1.125 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.2816, allocations: 0.9262 MB / 359.5 MB, free: 176 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001095/0.2827, allocations: 312.3 kB / 359.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/0.2834, allocations: 388.7 kB / 360.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2834, allocations: 0 / 360.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of Templates: time 0.04129/0.3247, allocations: 22.67 MB / 382.8 MB, free: 9.223 MB / 362.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.4532344499602914]