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.001567/0.001567, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.001741/0.001741, allocations: 170.6 kB / 22.46 MB, free: 5.359 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.42/1.42, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.04801/0.04801, allocations: 7.112 MB / 266.3 MB, free: 9.777 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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 392.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.198e-05, allocations: 2.281 kB / 392.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.009483/0.009505, allocations: 7.436 MB / 400.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005128/0.01463, allocations: 2.519 MB / 402.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005855/0.01522, allocations: 39.88 kB / 402.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.01603, allocations: 385.4 kB / 403.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.01911, allocations: 1.493 MB / 404.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.01945, allocations: 131.7 kB / 404.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.02243, allocations: 2.583 MB / 407.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009982/0.02342, allocations: 0.7651 MB / 408.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.02509, allocations: 1.387 MB / 409.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.02691, allocations: 1.321 MB / 410.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.02726, allocations: 232 kB / 411.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.02866, allocations: 0.823 MB / 412 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.02987, allocations: 1.277 MB / 413.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.03092, allocations: 0.8292 MB / 414.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005647/0.03657, allocations: 5.007 MB / 419.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.03658, allocations: 0 / 419.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.03658, allocations: 0 / 419.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.545e-05/0.03664, allocations: 0 / 419.1 MB, free: 14.9 MB / 350.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.01175/0.04839, allocations: 4.401 MB / 423.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.04844, allocations: 8.625 kB / 423.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007426/0.05586, allocations: 1.843 MB / 425.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.05846, allocations: 1.319 MB / 426.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.05861, allocations: 148.1 kB / 426.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004321/0.05904, allocations: 196.2 kB / 427 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.07213, allocations: 8.235 MB / 435.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.345e-05/0.0722, allocations: 27.77 kB / 435.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003278/0.07253, allocations: 103.8 kB / 435.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003493/0.07603, allocations: 1.899 MB / 437.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.0908, allocations: 7.355 MB / 444.6 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1841/0.2749, allocations: 23.24 MB / 467.8 MB, free: 44.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/0.2815, allocations: 2.177 MB / 470 MB, free: 43.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.2828, allocations: 0.8524 MB / 470.9 MB, free: 43.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005278/0.2881, allocations: 2.859 MB / 473.7 MB, free: 42.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2882, allocations: 43.47 kB / 473.8 MB, free: 42.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 4.459e-06/0.2882, allocations: 0 / 473.8 MB, free: 42.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=176): time 0.01132/0.2995, allocations: 5.604 MB / 479.4 MB, free: 40.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.2995, allocations: 71.91 kB / 479.5 MB, free: 39.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.3018, allocations: 2.231 MB / 481.7 MB, free: 38.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.3019, allocations: 52.61 kB / 481.7 MB, free: 38.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007138/0.3026, allocations: 2.181 MB / 483.9 MB, free: 36.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.303, allocations: 0.6719 MB / 484.6 MB, free: 35.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008287/0.3038, allocations: 0.8302 MB / 485.4 MB, free: 35.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.3038, allocations: 341.9 kB / 485.8 MB, free: 34.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.3055, allocations: 1.359 MB / 487.1 MB, free: 33.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.3078, allocations: 3.618 MB / 490.7 MB, free: 28.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004304/0.3121, allocations: 5.405 MB / 496.1 MB, free: 22.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.251e-05/0.3122, allocations: 24 kB / 496.2 MB, free: 22.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.006585/0.3187, allocations: 5.175 MB / 0.4896 GB, free: 16.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.3188, allocations: 42.16 kB / 0.4896 GB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-05/0.3188, allocations: 84.09 kB / 0.4897 GB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007974/0.3196, allocations: 356.5 kB / 0.49 GB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.3219, allocations: 0.9163 MB / 0.4909 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.3259, allocations: 4.006 MB / 0.4948 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.3282, allocations: 207.9 kB / 0.495 GB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/0.3285, allocations: 240 kB / 0.4953 GB, free: 11.04 MB / 366.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.001781/0.3303, allocations: 1.599 MB / 0.4968 GB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.3306, allocations: 214.6 kB / 0.497 GB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.3337, allocations: 2.276 MB / 0.4993 GB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.655e-05/0.3338, allocations: 31.92 kB / 0.4993 GB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3338, allocations: 0 / 0.4993 GB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.3338, allocations: 15.97 kB / 0.4993 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007688/0.3415, allocations: 5.335 MB / 0.5045 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.3415, allocations: 4 kB / 0.5045 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.3423, allocations: 239.7 kB / 0.5048 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006081/0.3429, allocations: 256.6 kB / 0.505 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.931e-05/0.343, allocations: 39.61 kB / 0.505 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004022/0.347, allocations: 3.262 MB / 0.5082 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.347, allocations: 4 kB / 0.5082 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005604/0.3526, allocations: 3.535 MB / 0.5117 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004884/0.3531, allocations: 186.7 kB / 0.5119 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.3534, allocations: 31.98 kB / 0.5119 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008247/0.3542, allocations: 84.12 kB / 0.512 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.3544, allocations: 109 kB / 0.5121 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.3545, allocations: 44 kB / 0.5121 GB, free: 9.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002077/0.3566, allocations: 1.305 MB / 0.5134 GB, free: 8.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3566, allocations: 0 / 0.5134 GB, free: 8.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003014/0.3596, allocations: 0.7024 MB / 0.5141 GB, free: 7.551 MB / 382.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.0003598/0.36, allocations: 161.8 kB / 0.5142 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005594/0.3656, allocations: 3.31 MB / 0.5175 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3656, allocations: 0 / 0.5175 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.3674, allocations: 1.083 MB / 0.5185 GB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.3688, allocations: 269.8 kB / 0.5188 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.3801, allocations: 6.655 MB / 0.5253 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/0.3828, allocations: 2.064 MB / 0.5273 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002794/0.3856, allocations: 1.218 MB / 0.5285 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.3861, allocations: 160.5 kB / 0.5286 GB, free: 8.52 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3861, allocations: 0 / 0.5286 GB, free: 8.52 MB / 398.1 MB Notification: Performance of Templates: time 0.04527/0.4313, allocations: 21.9 MB / 0.55 GB, free: 2.91 MB / 414.1 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.220535650849342] Failed to read output from testmodel.py, exit status != 0: 0.4400503486394882 0.455236632 0.41533296599999997 Calling exit ...