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.0008697/0.0008697, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009191/0.0009191, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9053/0.9053, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 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.02777/0.02777, allocations: 7.12 MB / 266.3 MB, free: 6.324 MB / 250.7 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: "" <> buildModelFMU(PlanarMechanics.Examples.PendulumExcited,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_PendulumExcited",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.Examples.PendulumExcited,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_PendulumExcited",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 392.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.698e-06/1.094e-05, allocations: 2.281 kB / 392.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.005771/0.005782, allocations: 7.542 MB / 399.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.008558, allocations: 2.534 MB / 402.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.008912, allocations: 35.88 kB / 402.5 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.009458, allocations: 377.4 kB / 402.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.01104, allocations: 1.466 MB / 404.3 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.01125, allocations: 155.7 kB / 404.5 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.01316, allocations: 2.572 MB / 407 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006209/0.01379, allocations: 0.8273 MB / 407.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009824/0.01477, allocations: 1.411 MB / 409.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.01587, allocations: 1.332 MB / 410.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.01609, allocations: 236 kB / 410.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000782/0.01687, allocations: 0.823 MB / 411.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1501/0.167, allocations: 1.278 MB / 413 MB, free: 17.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.168, allocations: 0.8342 MB / 413.8 MB, free: 17.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004363/0.1724, allocations: 5.058 MB / 418.8 MB, free: 17.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1724, allocations: 3.188 kB / 418.8 MB, free: 17.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1724, allocations: 0 / 418.8 MB, free: 17.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.121e-05/0.1724, allocations: 0 / 418.8 MB, free: 17.62 MB / 330.7 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.00554/0.178, allocations: 4.308 MB / 423.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.178, allocations: 9.719 kB / 423.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004827/0.1785, allocations: 0.5499 MB / 423.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/0.1821, allocations: 1.871 MB / 425.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.1837, allocations: 1.303 MB / 426.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-05/0.1838, allocations: 154.7 kB / 427 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.1841, allocations: 193.5 kB / 427.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.1958, allocations: 8.175 MB / 435.4 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-05/0.1959, allocations: 17.55 kB / 435.4 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/0.1962, allocations: 100.2 kB / 435.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001722/0.1979, allocations: 1.916 MB / 437.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.2086, allocations: 7.362 MB / 444.8 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02859/0.2372, allocations: 23.41 MB / 468.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.2409, allocations: 1.953 MB / 470.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.2419, allocations: 0.8053 MB / 471 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00415/0.246, allocations: 2.65 MB / 473.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.246, allocations: 43.56 kB / 473.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=130): time 4.299e-06/0.2461, allocations: 0 / 473.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.007654/0.2537, allocations: 4.805 MB / 478.5 MB, free: 2.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.2538, allocations: 64.41 kB / 478.5 MB, free: 2.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.2568, allocations: 2.624 MB / 481.1 MB, free: 228 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.257, allocations: 48.89 kB / 481.2 MB, free: 176 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.258, allocations: 2.141 MB / 483.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/0.2585, allocations: 0.5444 MB / 483.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.2596, allocations: 0.7451 MB / 484.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.2597, allocations: 309.1 kB / 484.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.2612, allocations: 1.225 MB / 486.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.2638, allocations: 3.292 MB / 489.4 MB, free: 6.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/0.2682, allocations: 4.878 MB / 494.3 MB, free: 1.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.665e-05/0.2683, allocations: 20 kB / 494.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.00671/0.275, allocations: 4.621 MB / 499 MB, free: 12.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.275, allocations: 39.94 kB / 499 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.102e-05/0.2751, allocations: 72 kB / 499.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.2756, allocations: 238 kB / 499.3 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.2773, allocations: 0.8232 MB / 0.4884 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.2795, allocations: 2.726 MB / 0.4911 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.2816, allocations: 194.2 kB / 0.4913 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004127/0.282, allocations: 220 kB / 0.4915 GB, free: 8.102 MB / 394.7 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.002518/0.2845, allocations: 1.581 MB / 0.493 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.2848, allocations: 226.4 kB / 0.4932 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.287, allocations: 1.909 MB / 0.4951 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.03e-05/0.2871, allocations: 31.98 kB / 0.4951 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.2871, allocations: 0 / 0.4951 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.2871, allocations: 7.969 kB / 0.4951 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007323/0.2944, allocations: 5.509 MB / 0.5005 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.2944, allocations: 4 kB / 0.5005 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.2949, allocations: 207.7 kB / 0.5007 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.2952, allocations: 142 kB / 0.5008 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.2953, allocations: 33.55 kB / 0.5009 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.2974, allocations: 2.401 MB / 0.5032 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2974, allocations: 7.938 kB / 0.5032 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.3008, allocations: 3.042 MB / 0.5062 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005883/0.3014, allocations: 226.6 kB / 0.5064 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.3016, allocations: 30.36 kB / 0.5064 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.3021, allocations: 67.91 kB / 0.5065 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.3022, allocations: 92.78 kB / 0.5066 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.3023, allocations: 47.92 kB / 0.5066 GB, free: 8.277 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002017/0.3043, allocations: 1.604 MB / 0.5082 GB, free: 6.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3043, allocations: 0 / 0.5082 GB, free: 6.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002263/0.3066, allocations: 0.6429 MB / 0.5088 GB, free: 6.016 MB / 410.7 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.003701/0.3103, allocations: 3.679 MB / 0.5124 GB, free: 2.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003831/0.3141, allocations: 2.897 MB / 0.5153 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3141, allocations: 0 / 0.5153 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.3152, allocations: 0.9503 MB / 0.5162 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.3171, allocations: 398.5 kB / 0.5166 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/0.351, allocations: 26.66 MB / 0.5426 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.3533, allocations: 2.041 MB / 0.5446 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001975/0.3553, allocations: 1.136 MB / 0.5457 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/0.3569, allocations: 1.305 MB / 0.547 GB, free: 12.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3569, allocations: 3.938 kB / 0.547 GB, free: 12.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2143/0.5712, allocations: 45.9 MB / 0.5918 GB, free: 154.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/9.338, allocations: 4.516 kB / 0.5918 GB, free: 154.3 MB / 474.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_Examples_PendulumExcited_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_Examples_PendulumExcited.fmu > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.139111903496087] Failed to read output from testmodel.py, exit status != 0: 9.444030796177685 9.451146859 9.277254446 Calling exit ...