Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.001422/0.001422, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001655/0.001655, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.785 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.05166/0.05166, allocations: 9.237 MB / 321.7 MB, free: 9.832 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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") [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.002222/0.002222, allocations: 80.16 kB / 448.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.1018, allocations: 55.46 MB / 0.4918 GB, free: 6.516 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.008352/0.1101, allocations: 6.23 MB / 0.4979 GB, free: 260 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.1149, allocations: 2.27 MB / 0.5001 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007421/0.1156, allocations: 27.94 kB / 0.5001 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008507/0.1165, allocations: 325.9 kB / 0.5005 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.1195, allocations: 1.3 MB / 0.5017 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.1199, allocations: 79.84 kB / 0.5018 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.1226, allocations: 2.14 MB / 0.5039 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.1236, allocations: 0.5867 MB / 0.5045 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1248, allocations: 0.7665 MB / 0.5052 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.1266, allocations: 1.195 MB / 0.5064 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004536/0.127, allocations: 200 kB / 0.5066 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.1284, allocations: 0.7255 MB / 0.5073 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.1295, allocations: 1.079 MB / 0.5083 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.1309, allocations: 0.9314 MB / 0.5092 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.1358, allocations: 4.482 MB / 0.5136 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1358, allocations: 4 kB / 0.5136 GB, free: 88 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1358, allocations: 4 kB / 0.5136 GB, free: 84 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.299e-05/0.1359, allocations: 0 / 0.5136 GB, free: 84 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.1968/0.3327, allocations: 3.351 MB / 0.5169 GB, free: 24.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3328, allocations: 9.641 kB / 0.5169 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006648/0.3394, allocations: 1.735 MB / 0.5186 GB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.3419, allocations: 1.155 MB / 0.5197 GB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-05/0.342, allocations: 123.7 kB / 0.5198 GB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/0.3423, allocations: 162.4 kB / 0.52 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.3525, allocations: 7.2 MB / 0.527 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/0.3526, allocations: 18.88 kB / 0.5271 GB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.3528, allocations: 83.45 kB / 0.5271 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00315/0.356, allocations: 1.742 MB / 0.5288 GB, free: 21.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.3682, allocations: 6.569 MB / 0.5352 GB, free: 19.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/0.3907, allocations: 19.03 MB / 0.5538 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.394, allocations: 1.487 MB / 0.5553 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/0.3947, allocations: 0.6388 MB / 0.5559 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004109/0.3988, allocations: 2.029 MB / 0.5579 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.3989, allocations: 39.22 kB / 0.5579 GB, free: 14.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 2.926e-06/0.3989, allocations: 0 / 0.5579 GB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=120): time 0.01171/0.4106, allocations: 5.388 MB / 0.5632 GB, free: 8.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.4107, allocations: 60.41 kB / 0.5632 GB, free: 8.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/0.4137, allocations: 1.921 MB / 0.5651 GB, free: 6.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/0.4138, allocations: 45.69 kB / 0.5652 GB, free: 6.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.4153, allocations: 1.931 MB / 0.5671 GB, free: 4.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/0.4158, allocations: 484.2 kB / 0.5675 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009894/0.4167, allocations: 0.6712 MB / 0.5682 GB, free: 3.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4169, allocations: 343.2 kB / 0.5685 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.4189, allocations: 1.099 MB / 0.5696 GB, free: 2.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.4225, allocations: 2.967 MB / 0.5725 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00585/0.4283, allocations: 4.378 MB / 0.5767 GB, free: 8.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.652e-05/0.4284, allocations: 16 kB / 0.5768 GB, free: 8.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008669/0.4371, allocations: 4.104 MB / 0.5808 GB, free: 4.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.4372, allocations: 39.98 kB / 0.5808 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.4373, allocations: 64 kB / 0.5809 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.4379, allocations: 201 kB / 0.5811 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.4402, allocations: 0.7299 MB / 0.5818 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/0.4436, allocations: 2.565 MB / 0.5843 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.4456, allocations: 159.9 kB / 0.5844 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003258/0.446, allocations: 200 kB / 0.5846 GB, free: 0.7109 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (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 (395): * Single equations (assignments): 390 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002419/0.4484, allocations: 1.437 MB / 0.586 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/0.4488, allocations: 162.9 kB / 0.5862 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.4518, allocations: 1.577 MB / 0.5877 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.4519, allocations: 23.98 kB / 0.5877 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4519, allocations: 8 kB / 0.5877 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.4519, allocations: 7.922 kB / 0.5878 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008712/0.4606, allocations: 3.886 MB / 0.5915 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.4606, allocations: 0 / 0.5915 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006827/0.4613, allocations: 163.8 kB / 0.5917 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003574/0.4616, allocations: 121 kB / 0.5918 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.4617, allocations: 20.55 kB / 0.5918 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.4641, allocations: 2.03 MB / 0.5938 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.4641, allocations: 11.92 kB / 0.5938 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00412/0.4683, allocations: 2.524 MB / 0.5963 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.4687, allocations: 152 kB / 0.5964 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.469, allocations: 20 kB / 0.5965 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007251/0.4697, allocations: 55.92 kB / 0.5965 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.4699, allocations: 76.75 kB / 0.5966 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.991e-05/0.47, allocations: 36.05 kB / 0.5966 GB, free: 4.152 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002268/0.4722, allocations: 1.13 MB / 0.5977 GB, free: 3.023 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4722, allocations: 0 / 0.5977 GB, free: 3.023 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002638/0.4749, allocations: 0.5468 MB / 0.5983 GB, free: 2.477 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (88): * Single equations (assignments): 83 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003356/0.4752, allocations: 143 kB / 0.5984 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004522/0.4797, allocations: 2.56 MB / 0.6009 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.4797, allocations: 3.938 kB / 0.6009 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.481, allocations: 0.7734 MB / 0.6017 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4821, allocations: 211.8 kB / 0.6019 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009913/0.492, allocations: 5.595 MB / 0.6073 GB, free: 9.117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/0.4948, allocations: 1.794 MB / 0.6091 GB, free: 7.297 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002332/0.4971, allocations: 0.9914 MB / 0.61 GB, free: 6.305 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.4975, allocations: 123.4 kB / 0.6102 GB, free: 6.184 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4975, allocations: 0 / 0.6102 GB, free: 6.184 MB / 446.1 MB Notification: Performance of Templates: time 0.03693/0.5344, allocations: 19.42 MB / 0.6291 GB, free: 3.027 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3872335106134415] Failed to read output from testmodel.py, exit status != 0: 0.5432123970240355 0.5578262429999999 0.41885361000000004 Calling exit ...