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.001349/0.001349, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001466/0.001466, allocations: 172.8 kB / 22.46 MB, free: 5.352 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.417/1.417, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.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.04723/0.04723, allocations: 7.115 MB / 266.3 MB, free: 9.789 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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 392.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.377e-05, allocations: 2.281 kB / 392.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.009675/0.009699, allocations: 7.554 MB / 400.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005476/0.01517, allocations: 2.53 MB / 403 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006996/0.01587, allocations: 39.88 kB / 403 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008971/0.01677, allocations: 381.4 kB / 403.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.02011, allocations: 1.462 MB / 404.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.0205, allocations: 155.6 kB / 405 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003072/0.02357, allocations: 2.57 MB / 407.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.02472, allocations: 0.8157 MB / 408.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.02652, allocations: 1.411 MB / 409.8 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.02838, allocations: 1.328 MB / 411.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003743/0.02876, allocations: 240 kB / 411.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.03027, allocations: 0.8268 MB / 412.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.03149, allocations: 1.281 MB / 413.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.03254, allocations: 0.837 MB / 414.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006047/0.03859, allocations: 5.062 MB / 419.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.03859, allocations: 0 / 419.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.03859, allocations: 0 / 419.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.499e-05/0.03869, allocations: 0 / 419.3 MB, free: 14.64 MB / 350.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.01033/0.04902, allocations: 4.315 MB / 423.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.04906, allocations: 12.62 kB / 423.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007561/0.05662, allocations: 1.859 MB / 425.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.0593, allocations: 1.318 MB / 426.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.05944, allocations: 148 kB / 427 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004379/0.05988, allocations: 200.2 kB / 427.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.07295, allocations: 8.165 MB / 435.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-05/0.07302, allocations: 23.94 kB / 435.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003147/0.07333, allocations: 91.81 kB / 435.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003464/0.0768, allocations: 1.919 MB / 437.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.09268, allocations: 7.36 MB / 444.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1932/0.2859, allocations: 22.44 MB / 467.2 MB, free: 45.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/0.2908, allocations: 1.948 MB / 469.1 MB, free: 45.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.292, allocations: 0.7999 MB / 469.9 MB, free: 44.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004678/0.2967, allocations: 2.597 MB / 472.5 MB, free: 43.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2967, allocations: 47.47 kB / 472.6 MB, free: 43.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=130): time 4.007e-06/0.2967, allocations: 3.594 kB / 472.6 MB, free: 43.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=144): time 0.009646/0.3064, allocations: 4.761 MB / 477.3 MB, free: 41.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3064, allocations: 66.78 kB / 477.4 MB, free: 41.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.3086, allocations: 2.123 MB / 479.5 MB, free: 40.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/0.3086, allocations: 49.39 kB / 479.6 MB, free: 40.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006734/0.3093, allocations: 2.166 MB / 481.7 MB, free: 38.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.3096, allocations: 0.5472 MB / 482.3 MB, free: 38.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/0.3104, allocations: 0.7528 MB / 483 MB, free: 37.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.419e-05/0.3104, allocations: 348.4 kB / 483.4 MB, free: 37.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.312, allocations: 1.224 MB / 484.6 MB, free: 36.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.3142, allocations: 3.291 MB / 487.9 MB, free: 32.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.318, allocations: 4.878 MB / 492.8 MB, free: 26.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.649e-05/0.3181, allocations: 27.25 kB / 492.8 MB, free: 26.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.005927/0.324, allocations: 4.597 MB / 497.4 MB, free: 21.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.324, allocations: 36 kB / 497.4 MB, free: 21.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.704e-05/0.3241, allocations: 72 kB / 497.5 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/0.3246, allocations: 237.3 kB / 497.7 MB, free: 21.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.3269, allocations: 0.8266 MB / 498.6 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.3292, allocations: 2.689 MB / 0.4895 GB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.3313, allocations: 191.5 kB / 0.4897 GB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.3315, allocations: 216 kB / 0.4899 GB, free: 17.39 MB / 366.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.00171/0.3332, allocations: 1.584 MB / 0.4914 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.3334, allocations: 190.7 kB / 0.4916 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.3362, allocations: 1.882 MB / 0.4935 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.922e-05/0.3363, allocations: 32.02 kB / 0.4935 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3363, allocations: 8 kB / 0.4935 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3363, allocations: 3.984 kB / 0.4935 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006959/0.3433, allocations: 4.697 MB / 0.4981 GB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3433, allocations: 7.938 kB / 0.4981 GB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/0.3441, allocations: 215.7 kB / 0.4983 GB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.3444, allocations: 135.9 kB / 0.4984 GB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.3445, allocations: 28.33 kB / 0.4985 GB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.3464, allocations: 2.382 MB / 0.5008 GB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3464, allocations: 7.938 kB / 0.5008 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/0.3499, allocations: 2.995 MB / 0.5037 GB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.3502, allocations: 170.8 kB / 0.5039 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.3504, allocations: 35.48 kB / 0.5039 GB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.3512, allocations: 67.92 kB / 0.504 GB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.3513, allocations: 96.7 kB / 0.5041 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/0.3514, allocations: 43.98 kB / 0.5041 GB, free: 2.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.3528, allocations: 1.237 MB / 0.5053 GB, free: 1.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3528, allocations: 0 / 0.5053 GB, free: 1.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002441/0.3552, allocations: 0.6366 MB / 0.5059 GB, free: 0.7031 MB / 366.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.0002922/0.3555, allocations: 158.3 kB / 0.5061 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004926/0.3604, allocations: 2.906 MB / 0.5089 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3604, allocations: 4 kB / 0.5089 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.362, allocations: 0.9389 MB / 0.5099 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.3634, allocations: 281.3 kB / 0.5101 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.3741, allocations: 6.358 MB / 0.5163 GB, free: 6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/0.3769, allocations: 2.035 MB / 0.5183 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00254/0.3795, allocations: 1.094 MB / 0.5194 GB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.3799, allocations: 140.5 kB / 0.5195 GB, free: 2.691 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3799, allocations: 4 kB / 0.5195 GB, free: 2.688 MB / 382.1 MB Notification: Performance of Templates: time 0.04023/0.4201, allocations: 19.45 MB / 0.5385 GB, free: 15.52 MB / 414.1 MB " [Timeout remaining time 660] 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: 5.141087267547846] Failed to read output from testmodel.py, exit status != 0: 0.4289896637201309 0.443936667 0.402145692 Calling exit ...