Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.001569/0.001569, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001699/0.001699, allocations: 217.6 kB / 22.99 MB, free: 4.945 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.04676/0.04676, allocations: 9.243 MB / 322.4 MB, free: 9.84 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.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") [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.002002/0.002002, allocations: 71.88 kB / 448.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09636, allocations: 55.46 MB / 0.4926 GB, free: 6.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.009564/0.1059, allocations: 7.537 MB / 0.4999 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005108/0.111, allocations: 2.527 MB / 0.5024 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009734/0.112, allocations: 35.88 kB / 0.5024 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.113, allocations: 385.4 kB / 0.5028 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.1165, allocations: 1.428 MB / 0.5042 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.1169, allocations: 151.7 kB / 0.5043 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.1199, allocations: 2.506 MB / 0.5068 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.121, allocations: 0.8196 MB / 0.5076 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.1222, allocations: 0.9417 MB / 0.5085 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.1239, allocations: 1.382 MB / 0.5098 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003586/0.1242, allocations: 240 kB / 0.5101 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.1255, allocations: 0.7567 MB / 0.5108 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.1266, allocations: 1.246 MB / 0.512 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.1278, allocations: 1.114 MB / 0.5131 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1801/0.3079, allocations: 5.066 MB / 0.5181 GB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3079, allocations: 1.156 kB / 0.5181 GB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3079, allocations: 0 / 0.5181 GB, free: 12.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.254e-05/0.308, allocations: 3.844 kB / 0.5181 GB, free: 12.99 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1181 * Number of variables: 1181 Notification: Performance of Generate backend data structure: time 0.00802/0.316, allocations: 4.318 MB / 0.5223 GB, free: 11.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.316, allocations: 11 kB / 0.5223 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006171/0.3222, allocations: 1.813 MB / 0.5241 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.3245, allocations: 1.314 MB / 0.5254 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.3246, allocations: 151.8 kB / 0.5255 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.3249, allocations: 198.8 kB / 0.5257 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.335, allocations: 8.188 MB / 0.5337 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.696e-05/0.335, allocations: 21.03 kB / 0.5337 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.3353, allocations: 96.89 kB / 0.5338 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002594/0.3379, allocations: 1.912 MB / 0.5357 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.3496, allocations: 7.413 MB / 0.5429 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02964/0.3792, allocations: 22.44 MB / 0.5648 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005117/0.3844, allocations: 1.876 MB / 0.5666 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.3857, allocations: 0.8079 MB / 0.5674 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005405/0.3911, allocations: 2.56 MB / 0.5699 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.3911, allocations: 43.56 kB / 0.57 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.236e-06/0.3912, allocations: 0 / 0.57 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01041/0.4016, allocations: 4.669 MB / 0.5745 GB, free: 9.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.4016, allocations: 68.39 kB / 0.5746 GB, free: 9.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.4045, allocations: 2.134 MB / 0.5767 GB, free: 7.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.4046, allocations: 41.7 kB / 0.5767 GB, free: 6.969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.4061, allocations: 2.183 MB / 0.5789 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000479/0.4065, allocations: 0.553 MB / 0.5794 GB, free: 4.254 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.4075, allocations: 0.7659 MB / 0.5801 GB, free: 3.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4077, allocations: 345.9 kB / 0.5805 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.4097, allocations: 1.237 MB / 0.5817 GB, free: 1.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/0.4133, allocations: 3.3 MB / 0.5849 GB, free: 13.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005952/0.4193, allocations: 4.888 MB / 0.5897 GB, free: 8.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.243e-05/0.4193, allocations: 21.88 kB / 0.5897 GB, free: 8.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007625/0.4269, allocations: 4.616 MB / 0.5942 GB, free: 3.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.427, allocations: 36 kB / 0.5942 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-05/0.4271, allocations: 75.5 kB / 0.5943 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/0.4277, allocations: 232.7 kB / 0.5945 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.43, allocations: 0.8265 MB / 0.5953 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/0.4334, allocations: 2.696 MB / 0.598 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.4354, allocations: 191.9 kB / 0.5982 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/0.4357, allocations: 220 kB / 0.5984 GB, free: 15.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 21 (worldForce.arrowTorque.twoHeadedArrow,worldForce.arrowTorque.headAtOrigin,worldForce.arrowForce.twoHeadedArrow,worldForce.arrowForce.headAtOrigin,cutForce.arrowForce.twoHeadedArrow,cutForce.arrowForce.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (445): * Single equations (assignments): 440 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002462/0.4382, allocations: 1.575 MB / 0.5999 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.4384, allocations: 194.7 kB / 0.6001 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.4416, allocations: 1.902 MB / 0.6019 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.585e-05/0.4417, allocations: 23.98 kB / 0.602 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4417, allocations: 4 kB / 0.602 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.4417, allocations: 7.969 kB / 0.602 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008248/0.45, allocations: 4.708 MB / 0.6066 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.45, allocations: 4 kB / 0.6066 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000838/0.4508, allocations: 212.9 kB / 0.6068 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000351/0.4512, allocations: 137.2 kB / 0.6069 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.4513, allocations: 27.98 kB / 0.6069 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/0.4538, allocations: 2.381 MB / 0.6093 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.577e-06/0.4539, allocations: 11.92 kB / 0.6093 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/0.4583, allocations: 3.018 MB / 0.6122 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.4586, allocations: 175.6 kB / 0.6124 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.4588, allocations: 23.8 kB / 0.6124 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006993/0.4595, allocations: 71.91 kB / 0.6125 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.4597, allocations: 99.92 kB / 0.6126 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.33e-05/0.4598, allocations: 43.98 kB / 0.6126 GB, free: 456 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001825/0.4616, allocations: 1.245 MB / 0.6138 GB, free: 15.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4616, allocations: 4.062 kB / 0.6138 GB, free: 15.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002523/0.4641, allocations: 0.6327 MB / 0.6145 GB, free: 14.57 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (revolute.phi,revolute.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 (109): * Single equations (assignments): 104 * 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 {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002943/0.4644, allocations: 152.9 kB / 0.6146 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004561/0.469, allocations: 2.923 MB / 0.6175 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.469, allocations: 0 / 0.6175 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.4704, allocations: 0.9522 MB / 0.6184 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.4716, allocations: 277.5 kB / 0.6187 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.4824, allocations: 6.814 MB / 0.6253 GB, free: 3.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/0.485, allocations: 2.034 MB / 0.6273 GB, free: 1.324 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/0.4856, allocations: 187.4 kB / 0.6275 GB, free: 1.141 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4856, allocations: 0 / 0.6275 GB, free: 1.141 MB / 462.1 MB Notification: Performance of Templates: time 0.07513/0.5608, allocations: 54.89 MB / 0.6811 GB, free: 10.34 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.sim & ./PlanarMechanics_PlanarMechanics.Examples.PendulumExcited -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.960861376021057] Failed to read output from testmodel.py, exit status != 0: 0.5698482310399413 0.5843355689999999 0.27338339899999997 Calling exit ...