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.001309/0.001309, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001402/0.001402, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.058/1.058, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.03234/0.03234, allocations: 7.186 MB / 267.4 MB, free: 5.91 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 2.594e-06/2.594e-06, allocations: 3.938 kB / 339.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.741e-05/4.001e-05, allocations: 4.703 kB / 339.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.008437/0.008477, allocations: 8.067 MB / 347.4 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004449/0.01293, allocations: 2.6 MB / 350 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006205/0.01355, allocations: 39.88 kB / 350 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.01428, allocations: 385.3 kB / 350.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.01656, allocations: 1.532 MB / 351.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.01685, allocations: 131.7 kB / 352.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.01926, allocations: 2.605 MB / 354.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.02062, allocations: 0.7969 MB / 355.5 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.02261, allocations: 1.411 MB / 356.9 MB, free: 8.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.02446, allocations: 1.328 MB / 358.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004421/0.0249, allocations: 240 kB / 358.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.02637, allocations: 0.8229 MB / 359.3 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.02744, allocations: 1.289 MB / 360.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.02848, allocations: 0.8292 MB / 361.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003923/0.0324, allocations: 3.327 MB / 364.7 MB, free: 428 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.03241, allocations: 0 / 364.7 MB, free: 428 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.03241, allocations: 0 / 364.7 MB, free: 428 kB / 282.7 MB Notification: Performance of Transformations before backend: time 7.599e-05/0.03249, allocations: 4 kB / 364.7 MB, free: 424 kB / 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.008521/0.04101, allocations: 4.655 MB / 369.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.04107, allocations: 12.62 kB / 369.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/0.04533, allocations: 1.259 MB / 370.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.0474, allocations: 1.192 MB / 371.8 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.04755, allocations: 160.1 kB / 372 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.04793, allocations: 204.2 kB / 372.2 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006291/0.05422, allocations: 3.892 MB / 376.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.257e-05/0.0543, allocations: 19.83 kB / 376.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002736/0.05457, allocations: 95.86 kB / 376.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002439/0.05701, allocations: 1.712 MB / 377.9 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005838/0.06285, allocations: 2.011 MB / 379.9 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/0.08247, allocations: 26.33 MB / 406.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.08513, allocations: 1.198 MB / 407.4 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.08551, allocations: 309.7 kB / 407.7 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002885/0.0884, allocations: 2.448 MB / 410.2 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.08843, allocations: 46.7 kB / 410.2 MB, free: 1.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=153): time 3.496e-06/0.08843, allocations: 0 / 410.2 MB, free: 1.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.1933/0.2817, allocations: 3.216 MB / 413.4 MB, free: 72.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2817, allocations: 69.22 kB / 413.5 MB, free: 72.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.2838, allocations: 1.954 MB / 415.5 MB, free: 72.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.2838, allocations: 50.14 kB / 415.5 MB, free: 72.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.285, allocations: 2.318 MB / 417.8 MB, free: 71.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/0.2855, allocations: 0.7216 MB / 418.6 MB, free: 70.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009636/0.2865, allocations: 0.9169 MB / 419.5 MB, free: 70.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2866, allocations: 0.5167 MB / 420 MB, free: 70.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.2873, allocations: 357.9 kB / 420.3 MB, free: 70.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.2892, allocations: 3.721 MB / 424.1 MB, free: 65.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/0.2926, allocations: 4.572 MB / 428.6 MB, free: 61.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-05/0.2926, allocations: 23.31 kB / 428.7 MB, free: 61.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=555) (initialization): time 0.004039/0.2966, allocations: 3.291 MB / 431.9 MB, free: 60.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.2967, allocations: 43.44 kB / 432 MB, free: 60.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-05/0.2967, allocations: 79.12 kB / 432.1 MB, free: 60.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/0.2973, allocations: 282.1 kB / 432.3 MB, free: 60.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.2988, allocations: 0.8986 MB / 433.2 MB, free: 60.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.3013, allocations: 3.161 MB / 436.4 MB, free: 58.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.3028, allocations: 166.9 kB / 436.6 MB, free: 58.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.303, allocations: 217.6 kB / 436.8 MB, free: 57.94 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.0009923/0.304, allocations: 488 kB / 437.2 MB, free: 57.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.3042, allocations: 258 kB / 437.5 MB, free: 57.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.3054, allocations: 1.092 MB / 438.6 MB, free: 56.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.995e-05/0.3055, allocations: 27.94 kB / 438.6 MB, free: 56.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3055, allocations: 4 kB / 438.6 MB, free: 56.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.3055, allocations: 7.406 kB / 438.6 MB, free: 56.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.3094, allocations: 3.416 MB / 442 MB, free: 53.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.3094, allocations: 4 kB / 442.1 MB, free: 53.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/0.3099, allocations: 226.1 kB / 442.3 MB, free: 53.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.3102, allocations: 174.1 kB / 442.4 MB, free: 52.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.3103, allocations: 43.08 kB / 442.5 MB, free: 52.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.3116, allocations: 2.473 MB / 445 MB, free: 50.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3116, allocations: 7.938 kB / 445 MB, free: 50.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.3131, allocations: 1.666 MB / 446.6 MB, free: 48.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.3133, allocations: 195.6 kB / 446.8 MB, free: 48.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3134, allocations: 32 kB / 446.9 MB, free: 48.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.3137, allocations: 31.84 kB / 446.9 MB, free: 48.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.3139, allocations: 119 kB / 447 MB, free: 48.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.3139, allocations: 43.98 kB / 447 MB, free: 48.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005754/0.3145, allocations: 0.8181 MB / 447.9 MB, free: 47.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3145, allocations: 0 / 447.9 MB, free: 47.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002031/0.3166, allocations: 0.7031 MB / 448.6 MB, free: 47.04 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.000298/0.3168, allocations: 170.8 kB / 448.7 MB, free: 46.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.3188, allocations: 2.03 MB / 450.8 MB, free: 44.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3188, allocations: 0 / 450.8 MB, free: 44.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.3194, allocations: 0.6995 MB / 451.5 MB, free: 44.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008492/0.3202, allocations: 299.7 kB / 451.8 MB, free: 43.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006344/0.3266, allocations: 5.642 MB / 457.4 MB, free: 38.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.3273, allocations: 0.9419 MB / 458.3 MB, free: 37.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007008/0.328, allocations: 305.3 kB / 458.6 MB, free: 36.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.3285, allocations: 422.1 kB / 459 MB, free: 36.38 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3285, allocations: 0 / 459 MB, free: 36.38 MB / 330.7 MB Notification: Performance of Templates: time 0.0305/0.359, allocations: 22.27 MB / 481.3 MB, free: 14.45 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.986566149163991]