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.001347/0.001347, allocations: 75.75 kB / 19.76 MB, free: 2.02 MB / 14.72 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.001496/0.001496, allocations: 155.8 kB / 23 MB, free: 4.953 MB / 14.72 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04762/0.04762, allocations: 7.127 MB / 266.9 MB, free: 9.711 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 63.91 kB / 393.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.0918, allocations: 55.45 MB / 448.8 MB, free: 2.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.009253/0.1011, allocations: 7.409 MB / 456.2 MB, free: 11.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004816/0.1059, allocations: 2.508 MB / 458.8 MB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.1064, allocations: 35.88 kB / 458.8 MB, free: 8.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007875/0.1072, allocations: 381.4 kB / 459.2 MB, free: 8.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.11, allocations: 1.463 MB / 460.6 MB, free: 7.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1104, allocations: 131.8 kB / 460.8 MB, free: 6.941 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002776/0.1131, allocations: 2.532 MB / 463.3 MB, free: 4.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000932/0.1141, allocations: 0.7497 MB / 464 MB, free: 3.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009608/0.115, allocations: 0.9299 MB / 465 MB, free: 2.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.1168, allocations: 1.37 MB / 466.3 MB, free: 1.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003285/0.1171, allocations: 232 kB / 466.6 MB, free: 1.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1183, allocations: 0.7606 MB / 467.3 MB, free: 344 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.1195, allocations: 1.238 MB / 468.6 MB, free: 15.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.1206, allocations: 1.094 MB / 469.7 MB, free: 13.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005157/0.1257, allocations: 5.042 MB / 474.7 MB, free: 8.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1257, allocations: 0 / 474.7 MB, free: 8.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1257, allocations: 0 / 474.7 MB, free: 8.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.398e-05/0.1258, allocations: 0 / 474.7 MB, free: 8.93 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.009761/0.1355, allocations: 4.436 MB / 479.1 MB, free: 4.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1356, allocations: 12.56 kB / 479.1 MB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006913/0.1425, allocations: 1.847 MB / 481 MB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.145, allocations: 1.309 MB / 482.3 MB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.1451, allocations: 152 kB / 482.4 MB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003914/0.1455, allocations: 203.8 kB / 482.6 MB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.184/0.3295, allocations: 8.232 MB / 490.9 MB, free: 65.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.614e-05/0.3296, allocations: 26.19 kB / 490.9 MB, free: 65.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.3299, allocations: 95.75 kB / 491 MB, free: 65.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002418/0.3323, allocations: 1.906 MB / 492.9 MB, free: 65.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009879/0.3421, allocations: 7.351 MB / 0.4885 GB, free: 62.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/0.3665, allocations: 23.29 MB / 0.5113 GB, free: 47.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005653/0.3722, allocations: 2.179 MB / 0.5134 GB, free: 46.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.3734, allocations: 0.8527 MB / 0.5142 GB, free: 46.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005115/0.3785, allocations: 2.852 MB / 0.517 GB, free: 45.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3785, allocations: 49.06 kB / 0.5171 GB, free: 45.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 3.607e-06/0.3785, allocations: 0 / 0.5171 GB, free: 45.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=176): time 0.01261/0.3911, allocations: 5.609 MB / 0.5225 GB, free: 43.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3912, allocations: 72.28 kB / 0.5226 GB, free: 43.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.3938, allocations: 2.215 MB / 0.5248 GB, free: 42.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/0.3939, allocations: 47.53 kB / 0.5248 GB, free: 42.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.395, allocations: 2.217 MB / 0.527 GB, free: 40.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004652/0.3955, allocations: 0.6807 MB / 0.5276 GB, free: 40.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.3965, allocations: 0.8375 MB / 0.5285 GB, free: 39.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.3966, allocations: 345.3 kB / 0.5288 GB, free: 39.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.3987, allocations: 1.362 MB / 0.5301 GB, free: 39.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/0.4016, allocations: 3.616 MB / 0.5337 GB, free: 35.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005109/0.4067, allocations: 5.408 MB / 0.5389 GB, free: 31.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.78e-05/0.4068, allocations: 23.72 kB / 0.539 GB, free: 31.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.007471/0.4142, allocations: 5.174 MB / 0.544 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.4143, allocations: 40 kB / 0.5441 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-05/0.4143, allocations: 81.59 kB / 0.5441 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008327/0.4152, allocations: 357.8 kB / 0.5445 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.4176, allocations: 0.9149 MB / 0.5454 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/0.4218, allocations: 4.003 MB / 0.5493 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.4244, allocations: 215.4 kB / 0.5495 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/0.4246, allocations: 248.8 kB / 0.5497 GB, free: 22.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 358 * 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 (498): * Single equations (assignments): 493 * 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.002018/0.4267, allocations: 1.593 MB / 0.5513 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.427, allocations: 210.1 kB / 0.5515 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.4303, allocations: 2.28 MB / 0.5537 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.962e-05/0.4304, allocations: 31.92 kB / 0.5537 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4304, allocations: 0.6562 kB / 0.5537 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.4304, allocations: 11.41 kB / 0.5537 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008164/0.4386, allocations: 5.337 MB / 0.559 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4386, allocations: 8.062 kB / 0.559 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008488/0.4394, allocations: 245.7 kB / 0.5592 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005888/0.44, allocations: 257.3 kB / 0.5594 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/0.4401, allocations: 35.75 kB / 0.5595 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/0.4431, allocations: 3.262 MB / 0.5627 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4431, allocations: 7.938 kB / 0.5627 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004022/0.4471, allocations: 3.544 MB / 0.5661 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.4476, allocations: 183.1 kB / 0.5663 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.4478, allocations: 31.98 kB / 0.5663 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007544/0.4485, allocations: 80.59 kB / 0.5664 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.4487, allocations: 113 kB / 0.5665 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.011e-05/0.4488, allocations: 51.98 kB / 0.5666 GB, free: 6.621 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001447/0.4502, allocations: 1.29 MB / 0.5678 GB, free: 5.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4502, allocations: 0 / 0.5678 GB, free: 5.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002873/0.4531, allocations: 0.6992 MB / 0.5685 GB, free: 4.641 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (132): * Single equations (assignments): 127 * 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.0002753/0.4534, allocations: 164.3 kB / 0.5687 GB, free: 4.469 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00442/0.4578, allocations: 3.293 MB / 0.5719 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.4578, allocations: 4 kB / 0.5719 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.4591, allocations: 1.082 MB / 0.5729 GB, free: 88 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.4605, allocations: 270.9 kB / 0.5732 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.4723, allocations: 6.762 MB / 0.5798 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002865/0.4751, allocations: 2.07 MB / 0.5818 GB, free: 6.898 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002831/0.478, allocations: 1.218 MB / 0.583 GB, free: 5.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.4784, allocations: 164.4 kB / 0.5832 GB, free: 5.512 MB / 462.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4784, allocations: 0 / 0.5832 GB, free: 5.512 MB / 462.1 MB Notification: Performance of Templates: time 0.04312/0.5215, allocations: 21.99 MB / 0.6046 GB, free: 15.8 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.448316998081282] Failed to read output from testmodel.py, exit status != 0: 0.5298798319417983 0.544034194 0.41528160299999994 Calling exit ...