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.001485/0.001485, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001737/0.001737, allocations: 217.5 kB / 23.01 MB, free: 4.566 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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.04667/0.04667, allocations: 9.227 MB / 322.4 MB, free: 10.18 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.00192/0.00192, allocations: 73.61 kB / 449 MB, free: 14.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.0948, allocations: 55.47 MB / 0.4926 GB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.008203/0.103, allocations: 7.07 MB / 0.4995 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.1072, allocations: 2.421 MB / 0.5019 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006129/0.1078, allocations: 31.88 kB / 0.5019 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.1085, allocations: 322 kB / 0.5022 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.1111, allocations: 1.304 MB / 0.5035 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1114, allocations: 71.91 kB / 0.5036 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.1139, allocations: 2.151 MB / 0.5057 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009954/0.1149, allocations: 0.5829 MB / 0.5063 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.1161, allocations: 0.7665 MB / 0.507 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.118, allocations: 1.246 MB / 0.5082 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004219/0.1184, allocations: 200 kB / 0.5084 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.1198, allocations: 0.8464 MB / 0.5092 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.1209, allocations: 1.071 MB / 0.5103 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.1225, allocations: 1.344 MB / 0.5116 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.188/0.3106, allocations: 4.475 MB / 0.516 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3106, allocations: 0 / 0.516 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3106, allocations: 0 / 0.516 GB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000117/0.3107, allocations: 0 / 0.516 GB, free: 12.66 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: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.006118/0.3168, allocations: 3.374 MB / 0.5193 GB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3168, allocations: 10.12 kB / 0.5193 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005678/0.3225, allocations: 1.725 MB / 0.521 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.3245, allocations: 1.141 MB / 0.5221 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.3246, allocations: 127.3 kB / 0.5222 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.3249, allocations: 158.6 kB / 0.5223 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008835/0.3337, allocations: 7.206 MB / 0.5294 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.3338, allocations: 16.81 kB / 0.5294 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.334, allocations: 74.02 kB / 0.5295 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002738/0.3368, allocations: 1.745 MB / 0.5312 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.3471, allocations: 6.585 MB / 0.5376 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02362/0.3707, allocations: 21.11 MB / 0.5582 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/0.3743, allocations: 1.503 MB / 0.5597 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009943/0.3753, allocations: 0.637 MB / 0.5603 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004275/0.3796, allocations: 2.28 MB / 0.5625 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.3797, allocations: 39.22 kB / 0.5626 GB, free: 4.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 3.787e-06/0.3797, allocations: 0.9375 kB / 0.5626 GB, free: 4.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=120): time 0.01066/0.3903, allocations: 5.436 MB / 0.5679 GB, free: 14.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3904, allocations: 64.41 kB / 0.5679 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.3936, allocations: 2.266 MB / 0.5702 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.3936, allocations: 41.7 kB / 0.5702 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.3951, allocations: 1.91 MB / 0.5721 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.3955, allocations: 484 kB / 0.5725 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008887/0.3964, allocations: 0.6711 MB / 0.5732 GB, free: 9.246 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3965, allocations: 302.9 kB / 0.5735 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.3983, allocations: 1.099 MB / 0.5745 GB, free: 7.848 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/0.4016, allocations: 2.964 MB / 0.5774 GB, free: 3.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/0.4068, allocations: 4.365 MB / 0.5817 GB, free: 14.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.964e-05/0.4069, allocations: 21.12 kB / 0.5817 GB, free: 14.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006677/0.4135, allocations: 4.142 MB / 0.5858 GB, free: 11.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.4136, allocations: 32 kB / 0.5858 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.763e-05/0.4137, allocations: 73.84 kB / 0.5859 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.4142, allocations: 208.8 kB / 0.5861 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.4162, allocations: 0.7252 MB / 0.5868 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.4193, allocations: 2.595 MB / 0.5893 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.4212, allocations: 168 kB / 0.5895 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/0.4215, allocations: 196 kB / 0.5897 GB, free: 7 MB / 430.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.002062/0.4236, allocations: 1.436 MB / 0.5911 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.4239, allocations: 190.7 kB / 0.5912 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.4266, allocations: 1.619 MB / 0.5928 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/0.4267, allocations: 23.98 kB / 0.5928 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4267, allocations: 0 / 0.5928 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.4268, allocations: 7.984 kB / 0.5928 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008291/0.4351, allocations: 4.836 MB / 0.5976 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.4351, allocations: 4 kB / 0.5976 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.4357, allocations: 160.1 kB / 0.5977 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/0.436, allocations: 112.8 kB / 0.5978 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/0.4361, allocations: 29.25 kB / 0.5979 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.4384, allocations: 2.064 MB / 0.5999 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.4384, allocations: 11.88 kB / 0.5999 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/0.4422, allocations: 2.556 MB / 0.6024 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/0.4427, allocations: 198.7 kB / 0.6026 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.4429, allocations: 20 kB / 0.6026 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/0.4436, allocations: 51.94 kB / 0.6026 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4437, allocations: 73.5 kB / 0.6027 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.479e-05/0.4438, allocations: 43.03 kB / 0.6028 GB, free: 9.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002311/0.4461, allocations: 1.468 MB / 0.6042 GB, free: 7.832 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4461, allocations: 0 / 0.6042 GB, free: 7.832 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002262/0.4484, allocations: 0.5546 MB / 0.6047 GB, free: 7.277 MB / 446.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.0003061/0.4487, allocations: 145.2 kB / 0.6049 GB, free: 7.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004183/0.4528, allocations: 2.561 MB / 0.6074 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4528, allocations: 1.25 kB / 0.6074 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.454, allocations: 0.7848 MB / 0.6081 GB, free: 3.766 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.4554, allocations: 335.4 kB / 0.6085 GB, free: 3.449 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009777/0.4652, allocations: 5.99 MB / 0.6143 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/0.4679, allocations: 2.365 MB / 0.6166 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.4684, allocations: 175.4 kB / 0.6168 GB, free: 10.84 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4684, allocations: 0 / 0.6168 GB, free: 10.84 MB / 462.1 MB Notification: Performance of Templates: time 0.06675/0.5352, allocations: 49.88 MB / 0.6655 GB, free: 9.078 MB / 0.4981 GB " [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: 10.006682567996904] Failed to read output from testmodel.py, exit status != 0: 0.5430478767957538 0.5574441969999999 0.24384506700000003 Calling exit ...