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.001476/0.001476, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.00157/0.00157, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.03945/0.03945, allocations: 7.194 MB / 268.2 MB, free: 5.918 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.212e-06/1.212e-06, allocations: 0 / 340.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.219e-05, allocations: 2.312 kB / 340.1 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.006191/0.006213, allocations: 8.081 MB / 348.2 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.01037, allocations: 2.586 MB / 350.8 MB, free: 292 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008402/0.01121, allocations: 39.88 kB / 350.8 MB, free: 252 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.01192, allocations: 393.3 kB / 351.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.01438, allocations: 1.528 MB / 352.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.01465, allocations: 131.6 kB / 352.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.01711, allocations: 2.605 MB / 355.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.01819, allocations: 0.8046 MB / 356.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.01952, allocations: 1.403 MB / 357.7 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.02079, allocations: 1.332 MB / 359 MB, free: 8.008 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.02103, allocations: 236 kB / 359.2 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.02211, allocations: 0.8152 MB / 360 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007262/0.02283, allocations: 1.289 MB / 361.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000605/0.02344, allocations: 0.8369 MB / 362.2 MB, free: 4.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.02636, allocations: 3.338 MB / 365.5 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.02636, allocations: 0 / 365.5 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02636, allocations: 0 / 365.5 MB, free: 1.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.03e-05/0.02642, allocations: 0 / 365.5 MB, free: 1.477 MB / 330.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.006443/0.03286, allocations: 4.647 MB / 370.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.0329, allocations: 8.625 kB / 370.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/0.03597, allocations: 1.251 MB / 371.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.03761, allocations: 1.211 MB / 372.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.975e-05/0.0377, allocations: 152.1 kB / 372.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.038, allocations: 200.2 kB / 373 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005122/0.04313, allocations: 3.884 MB / 376.8 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.484e-05/0.04318, allocations: 23.77 kB / 376.9 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.04338, allocations: 99.86 kB / 377 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001596/0.04497, allocations: 1.716 MB / 378.7 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004255/0.04923, allocations: 2.007 MB / 380.7 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02293/0.07216, allocations: 26.33 MB / 407 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.07508, allocations: 1.197 MB / 408.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.07547, allocations: 317.5 kB / 408.5 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002998/0.07847, allocations: 2.441 MB / 411 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.0785, allocations: 54.64 kB / 411 MB, free: 2.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 3.186e-06/0.0785, allocations: 0 / 411 MB, free: 2.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=181): time 0.006387/0.08489, allocations: 3.211 MB / 414.2 MB, free: 15.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.08493, allocations: 68.72 kB / 414.3 MB, free: 15.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.08661, allocations: 1.956 MB / 416.2 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.08667, allocations: 45.7 kB / 416.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.08771, allocations: 2.319 MB / 418.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006325/0.08835, allocations: 0.7209 MB / 419.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007667/0.08911, allocations: 0.9131 MB / 420.2 MB, free: 9.301 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.08927, allocations: 0.5237 MB / 420.8 MB, free: 8.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.08975, allocations: 356.2 kB / 421.1 MB, free: 8.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.09207, allocations: 3.724 MB / 424.8 MB, free: 3.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/0.09542, allocations: 4.569 MB / 429.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.937e-05/0.09547, allocations: 24 kB / 429.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=555) (initialization): time 0.004407/0.09987, allocations: 3.288 MB / 432.7 MB, free: 9.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.09993, allocations: 41.72 kB / 432.8 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.661e-05/0.09999, allocations: 84.06 kB / 432.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.1006, allocations: 279 kB / 433.1 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.1021, allocations: 0.9007 MB / 434 MB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.1049, allocations: 3.151 MB / 437.2 MB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.1067, allocations: 171.9 kB / 437.3 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/0.1071, allocations: 211.9 kB / 437.5 MB, free: 4.805 MB / 410.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.00143/0.1085, allocations: 492.4 kB / 438 MB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.1088, allocations: 254.6 kB / 438.3 MB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.1103, allocations: 1.092 MB / 439.4 MB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.579e-05/0.1103, allocations: 24 kB / 439.4 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1103, allocations: 4 kB / 439.4 MB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.1103, allocations: 7.969 kB / 439.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1579/0.2683, allocations: 3.41 MB / 442.8 MB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.2683, allocations: 6.438 kB / 442.8 MB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.2688, allocations: 227.8 kB / 443 MB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/0.2691, allocations: 168.2 kB / 443.2 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.2692, allocations: 40.39 kB / 443.2 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.2708, allocations: 2.475 MB / 445.7 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2708, allocations: 13.97 kB / 445.7 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.2727, allocations: 1.67 MB / 447.4 MB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.2731, allocations: 184 kB / 447.6 MB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.2732, allocations: 30.25 kB / 447.6 MB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.2736, allocations: 39.33 kB / 447.7 MB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.2737, allocations: 117.6 kB / 447.8 MB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.2738, allocations: 49.33 kB / 447.8 MB, free: 122.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008302/0.2746, allocations: 0.8035 MB / 448.6 MB, free: 122.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2746, allocations: 0 / 448.6 MB, free: 122.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002127/0.2768, allocations: 0.713 MB / 449.3 MB, free: 122.7 MB / 410.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.0002576/0.277, allocations: 168 kB / 449.5 MB, free: 122.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.2794, allocations: 2.038 MB / 451.5 MB, free: 122.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.2794, allocations: 3 kB / 451.5 MB, free: 122.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.28, allocations: 0.7036 MB / 452.2 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008993/0.2809, allocations: 285.7 kB / 452.5 MB, free: 122 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/0.2882, allocations: 5.645 MB / 458.2 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/0.289, allocations: 0.937 MB / 459.1 MB, free: 119.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009315/0.2899, allocations: 315.5 kB / 459.4 MB, free: 119.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.2904, allocations: 423.7 kB / 459.8 MB, free: 119.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.2904, allocations: 0 / 459.8 MB, free: 119.4 MB / 410.7 MB Notification: Performance of Templates: time 0.04189/0.3323, allocations: 22.75 MB / 482.6 MB, free: 116.7 MB / 410.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.722126484848559]