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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04812/0.04812, allocations: 9.25 MB / 313.7 MB, free: 1.641 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.89 kB / 437.4 MB, free: 9.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.376, allocations: 54.26 MB / 491.6 MB, free: 25.81 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.008918/0.3849, allocations: 7.068 MB / 498.7 MB, free: 20.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007574/0.3924, allocations: 2.38 MB / 0.4893 GB, free: 19.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.3939, allocations: 24.25 kB / 0.4893 GB, free: 19.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007623/0.3946, allocations: 321.7 kB / 0.4896 GB, free: 18.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003369/0.398, allocations: 1.307 MB / 0.4909 GB, free: 17.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.3984, allocations: 84.27 kB / 0.491 GB, free: 17.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.4017, allocations: 2.161 MB / 0.4931 GB, free: 16.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009956/0.4027, allocations: 0.5842 MB / 0.4937 GB, free: 16.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.404, allocations: 0.7566 MB / 0.4944 GB, free: 15.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.4056, allocations: 1.238 MB / 0.4956 GB, free: 15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004249/0.406, allocations: 201.9 kB / 0.4958 GB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.4077, allocations: 0.8412 MB / 0.4966 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.4088, allocations: 1.081 MB / 0.4977 GB, free: 14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.4101, allocations: 1.356 MB / 0.499 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007833/0.4179, allocations: 4.507 MB / 0.5034 GB, free: 9.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/0.418, allocations: 0 / 0.5034 GB, free: 9.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.418, allocations: 0 / 0.5034 GB, free: 9.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002199/0.4182, allocations: 0 / 0.5034 GB, free: 9.824 MB / 366.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.01128/0.4295, allocations: 3.438 MB / 0.5068 GB, free: 7.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.4295, allocations: 9.688 kB / 0.5068 GB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0065/0.436, allocations: 1.728 MB / 0.5085 GB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.439, allocations: 1.202 MB / 0.5097 GB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.4391, allocations: 123.3 kB / 0.5098 GB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.4394, allocations: 156.2 kB / 0.5099 GB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.4525, allocations: 7.212 MB / 0.517 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.138e-05/0.4526, allocations: 19.83 kB / 0.517 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.4529, allocations: 75.88 kB / 0.5171 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003152/0.456, allocations: 1.738 MB / 0.5188 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/0.4722, allocations: 6.58 MB / 0.5252 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04072/0.5129, allocations: 21.16 MB / 0.5458 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/0.5179, allocations: 1.957 MB / 0.5478 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.5193, allocations: 0.6456 MB / 0.5484 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006514/0.5258, allocations: 3.271 MB / 0.5516 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.5259, allocations: 47.16 kB / 0.5516 GB, free: 8.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=106): time 4.218e-06/0.5259, allocations: 0 / 0.5516 GB, free: 8.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.01296/0.5388, allocations: 5.575 MB / 0.5571 GB, free: 3.129 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.5389, allocations: 60.41 kB / 0.5571 GB, free: 3.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.5436, allocations: 2.27 MB / 0.5593 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.5437, allocations: 41.7 kB / 0.5594 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.5455, allocations: 1.911 MB / 0.5613 GB, free: 14.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006002/0.5461, allocations: 480.2 kB / 0.5617 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.5475, allocations: 0.6751 MB / 0.5624 GB, free: 13.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5476, allocations: 301.1 kB / 0.5627 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.5498, allocations: 1.096 MB / 0.5637 GB, free: 12.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00392/0.5537, allocations: 2.962 MB / 0.5666 GB, free: 8.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006104/0.5598, allocations: 4.375 MB / 0.5709 GB, free: 3.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.917e-05/0.5599, allocations: 20 kB / 0.5709 GB, free: 3.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00845/0.5684, allocations: 4.143 MB / 0.575 GB, free: 14.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.654e-05/0.5684, allocations: 35.94 kB / 0.575 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.5686, allocations: 68.91 kB / 0.5751 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.5692, allocations: 204.8 kB / 0.5753 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/0.5717, allocations: 0.7252 MB / 0.576 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/0.5753, allocations: 2.71 MB / 0.5786 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.5782, allocations: 164 kB / 0.5788 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006147/0.5788, allocations: 200 kB / 0.579 GB, free: 10.62 MB / 446.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.003324/0.5821, allocations: 1.422 MB / 0.5803 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/0.5826, allocations: 198.7 kB / 0.5805 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/0.586, allocations: 1.619 MB / 0.5821 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001145/0.5862, allocations: 27.98 kB / 0.5821 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/0.5862, allocations: 4 kB / 0.5821 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5862, allocations: 3.984 kB / 0.5821 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.5974, allocations: 4.851 MB / 0.5869 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.5974, allocations: 4 kB / 0.5869 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.5981, allocations: 160.1 kB / 0.587 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/0.5985, allocations: 124.7 kB / 0.5872 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/0.5986, allocations: 19.98 kB / 0.5872 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.6011, allocations: 2.172 MB / 0.5893 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6011, allocations: 4 kB / 0.5893 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.6055, allocations: 2.561 MB / 0.5918 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008018/0.6063, allocations: 271.8 kB / 0.5921 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/0.6068, allocations: 23.94 kB / 0.5921 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009655/0.6077, allocations: 55.92 kB / 0.5921 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.6079, allocations: 68.91 kB / 0.5922 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.608, allocations: 36 kB / 0.5922 GB, free: 12.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003688/0.6117, allocations: 1.472 MB / 0.5937 GB, free: 11.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6117, allocations: 3.938 kB / 0.5937 GB, free: 11.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003684/0.6154, allocations: 0.5624 MB / 0.5942 GB, free: 10.58 MB / 462.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.0004955/0.6159, allocations: 154.9 kB / 0.5944 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005217/0.6211, allocations: 2.552 MB / 0.5969 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.6211, allocations: 1.5 kB / 0.5969 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.6224, allocations: 0.7818 MB / 0.5976 GB, free: 7.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.6249, allocations: 337.3 kB / 0.598 GB, free: 6.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.6408, allocations: 5.657 MB / 0.6035 GB, free: 1.016 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.279/0.9198, allocations: 2.348 MB / 0.6058 GB, free: 105.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003553/0.9234, allocations: 1.037 MB / 0.6068 GB, free: 105.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.9238, allocations: 142.2 kB / 0.6069 GB, free: 105.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/0.9238, allocations: 0 / 0.6069 GB, free: 105.3 MB / 462.1 MB Notification: Performance of Templates: time 0.05581/0.9797, allocations: 22.01 MB / 0.6284 GB, free: 97.55 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: 6.478488141670823]