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.001421/0.001421, allocations: 78.8 kB / 19.76 MB, free: 2.031 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.001369/0.001369, allocations: 157.8 kB / 23.01 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.394/1.394, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.04687/0.04687, allocations: 7.128 MB / 266.9 MB, free: 9.703 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.002076/0.002076, allocations: 63.91 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09506, allocations: 55.45 MB / 448.8 MB, free: 2.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.007886/0.1029, allocations: 6.214 MB / 455 MB, free: 12.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.108, allocations: 2.258 MB / 457.3 MB, free: 10.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007262/0.1088, allocations: 31.94 kB / 457.3 MB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007417/0.1095, allocations: 321.9 kB / 457.7 MB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.1123, allocations: 1.311 MB / 459 MB, free: 8.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1125, allocations: 79.84 kB / 459 MB, free: 8.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.1149, allocations: 2.141 MB / 461.2 MB, free: 6.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007832/0.1157, allocations: 0.5905 MB / 461.8 MB, free: 5.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.1166, allocations: 0.7627 MB / 462.5 MB, free: 5.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.1181, allocations: 1.207 MB / 463.7 MB, free: 3.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.1184, allocations: 200 kB / 463.9 MB, free: 3.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.1196, allocations: 0.7255 MB / 464.7 MB, free: 3.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009857/0.1206, allocations: 1.071 MB / 465.7 MB, free: 1.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009703/0.1216, allocations: 0.9275 MB / 466.7 MB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004806/0.1264, allocations: 4.49 MB / 471.2 MB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1264, allocations: 0 / 471.2 MB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1264, allocations: 0 / 471.2 MB, free: 12.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.397e-05/0.1265, allocations: 3.938 kB / 471.2 MB, free: 12.48 MB / 446.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.007036/0.1335, allocations: 3.381 MB / 474.5 MB, free: 9.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1335, allocations: 12.62 kB / 474.5 MB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006789/0.1403, allocations: 1.785 MB / 476.3 MB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.1426, allocations: 1.145 MB / 477.5 MB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.1428, allocations: 119.3 kB / 477.6 MB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.1431, allocations: 164.2 kB / 477.8 MB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1957/0.3388, allocations: 7.188 MB / 484.9 MB, free: 67.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/0.3389, allocations: 18.83 kB / 485 MB, free: 67.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.3391, allocations: 80.05 kB / 485 MB, free: 67.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002291/0.3414, allocations: 1.737 MB / 486.8 MB, free: 67.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009137/0.3506, allocations: 6.513 MB / 493.3 MB, free: 65.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.37, allocations: 19.06 MB / 0.5003 GB, free: 52.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.3732, allocations: 1.547 MB / 0.5018 GB, free: 52.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007829/0.374, allocations: 0.6307 MB / 0.5025 GB, free: 52.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003413/0.3774, allocations: 2.045 MB / 0.5045 GB, free: 51.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3775, allocations: 52.36 kB / 0.5045 GB, free: 51.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=106): time 2.575e-06/0.3775, allocations: 0 / 0.5045 GB, free: 51.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.009976/0.3874, allocations: 5.42 MB / 0.5098 GB, free: 49.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.3875, allocations: 62.31 kB / 0.5099 GB, free: 49.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.3897, allocations: 1.914 MB / 0.5117 GB, free: 48.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.3897, allocations: 41.14 kB / 0.5118 GB, free: 48.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007251/0.3904, allocations: 1.935 MB / 0.5137 GB, free: 46.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.3907, allocations: 480.6 kB / 0.5141 GB, free: 46.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007381/0.3914, allocations: 0.6703 MB / 0.5148 GB, free: 46.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.3915, allocations: 340.1 kB / 0.5151 GB, free: 45.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.3931, allocations: 1.091 MB / 0.5162 GB, free: 45.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/0.3953, allocations: 2.956 MB / 0.5191 GB, free: 42.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/0.3992, allocations: 4.366 MB / 0.5233 GB, free: 39.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.68e-05/0.3992, allocations: 19.91 kB / 0.5233 GB, free: 39.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005949/0.4051, allocations: 4.098 MB / 0.5273 GB, free: 37.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.4052, allocations: 37.97 kB / 0.5274 GB, free: 37.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.039e-05/0.4053, allocations: 65.31 kB / 0.5274 GB, free: 37.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004695/0.4057, allocations: 205.5 kB / 0.5276 GB, free: 37.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.4078, allocations: 0.7239 MB / 0.5283 GB, free: 37.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.4103, allocations: 2.563 MB / 0.5308 GB, free: 35.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.4123, allocations: 165.3 kB / 0.531 GB, free: 35.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.4126, allocations: 199.7 kB / 0.5312 GB, free: 35.46 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.001906/0.4145, allocations: 1.427 MB / 0.5326 GB, free: 34.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.4147, allocations: 160.8 kB / 0.5327 GB, free: 34.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.4175, allocations: 1.568 MB / 0.5343 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/0.4176, allocations: 23.58 kB / 0.5343 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4177, allocations: 2.562 kB / 0.5343 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.4177, allocations: 4.5 kB / 0.5343 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00689/0.4246, allocations: 3.896 MB / 0.5381 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4246, allocations: 7.797 kB / 0.5381 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.4252, allocations: 156.2 kB / 0.5383 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.4255, allocations: 118.2 kB / 0.5384 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.4256, allocations: 23.94 kB / 0.5384 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.4272, allocations: 2.029 MB / 0.5404 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4272, allocations: 11.81 kB / 0.5404 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.4302, allocations: 2.497 MB / 0.5428 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.4305, allocations: 149.3 kB / 0.543 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.4307, allocations: 26.09 kB / 0.543 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.4313, allocations: 54 kB / 0.543 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4314, allocations: 71.55 kB / 0.5431 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/0.4315, allocations: 37.95 kB / 0.5431 GB, free: 29.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.4328, allocations: 1.126 MB / 0.5442 GB, free: 28.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4328, allocations: 0 / 0.5442 GB, free: 28.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002404/0.4352, allocations: 0.5475 MB / 0.5448 GB, free: 27.57 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.0002336/0.4354, allocations: 151.4 kB / 0.5449 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.4388, allocations: 2.542 MB / 0.5474 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4388, allocations: 0 / 0.5474 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.4396, allocations: 0.773 MB / 0.5482 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009765/0.4406, allocations: 214.9 kB / 0.5484 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006919/0.4475, allocations: 5.579 MB / 0.5538 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.4495, allocations: 1.79 MB / 0.5556 GB, free: 17.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001933/0.4515, allocations: 0.9916 MB / 0.5565 GB, free: 17.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.4517, allocations: 128 kB / 0.5567 GB, free: 17.02 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4517, allocations: 3.938 kB / 0.5567 GB, free: 17.02 MB / 446.1 MB Notification: Performance of Templates: time 0.02576/0.4775, allocations: 16.85 MB / 0.5731 GB, free: 1 MB / 446.1 MB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.988048125989735] Failed to read output from testmodel.py, exit status != 0: 0.48538154794368893 0.499375799 0.36991593100000003 Calling exit ...